1) Reintroduced some out commented methods. (Did break some preference settings)
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / ui / JavaElementImageDescriptor.java
index 73e456a..f7261d0 100644 (file)
@@ -111,9 +111,9 @@ public class JavaElementImageDescriptor extends CompositeImageDescriptor {
         * 
         * @return the current adornments
         */
-       public int getAdronments() {
-               return fFlags;
-       }
+//     public int getAdronments() {
+//             return fFlags;
+//     }
 
        /**
         * Sets the size of the image created by calling <code>createImage()</code>.
@@ -123,11 +123,11 @@ public class JavaElementImageDescriptor extends CompositeImageDescriptor {
         *            <code>createImage()</code>
         * @see ImageDescriptor#createImage()
         */
-       public void setImageSize(Point size) {
-               Assert.isNotNull(size);
-               Assert.isTrue(size.x >= 0 && size.y >= 0);
-               fSize = size;
-       }
+//     public void setImageSize(Point size) {
+//             Assert.isNotNull(size);
+//             Assert.isTrue(size.x >= 0 && size.y >= 0);
+//             fSize = size;
+//     }
 
        /**
         * Returns the size of the image created by calling