PATCH-1559330: PHPDoc comments are garbled in function hover. Applied patch and refac...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / JavaElementProperties.java
index bbb86bd..e6e3d0c 100644 (file)
@@ -11,7 +11,6 @@
 
 package net.sourceforge.phpdt.internal.ui;
 
-
 import net.sourceforge.phpdt.core.IJavaElement;
 
 import org.eclipse.jface.viewers.IBasicPropertyConstants;
@@ -20,46 +19,47 @@ import org.eclipse.ui.views.properties.IPropertySource;
 import org.eclipse.ui.views.properties.PropertyDescriptor;
 
 public class JavaElementProperties implements IPropertySource {
-       
+
        private IJavaElement fSource;
-       
+
        // Property Descriptors
-       static private IPropertyDescriptor[] fgPropertyDescriptors= new IPropertyDescriptor[1];
+       static private IPropertyDescriptor[] fgPropertyDescriptors = new IPropertyDescriptor[1];
        {
                PropertyDescriptor descriptor;
 
                // resource name
-               descriptor= new PropertyDescriptor(IBasicPropertyConstants.P_TEXT, PHPUIMessages.getString("JavaElementProperties.name")); //$NON-NLS-1$
+               descriptor = new PropertyDescriptor(IBasicPropertyConstants.P_TEXT,
+                               PHPUIMessages.getString("JavaElementProperties.name")); //$NON-NLS-1$
                descriptor.setAlwaysIncompatible(true);
-               fgPropertyDescriptors[0]= descriptor;
+               fgPropertyDescriptors[0] = descriptor;
        }
-       
+
        public JavaElementProperties(IJavaElement source) {
-               fSource= source;
+               fSource = source;
        }
-       
+
        public IPropertyDescriptor[] getPropertyDescriptors() {
                return fgPropertyDescriptors;
        }
-       
+
        public Object getPropertyValue(Object name) {
                if (name.equals(IBasicPropertyConstants.P_TEXT)) {
                        return fSource.getElementName();
                }
                return null;
        }
-       
+
        public void setPropertyValue(Object name, Object value) {
        }
-       
+
        public Object getEditableValue() {
                return this;
        }
-       
+
        public boolean isPropertySet(Object property) {
                return false;
        }
-       
+
        public void resetPropertyValue(Object property) {
        }
 }