1) Added setting of syntax properties to italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / JavaElementImageDescriptor.java
index e008eff..f7261d0 100644 (file)
@@ -14,7 +14,9 @@ import net.sourceforge.phpdt.internal.ui.PHPUiImages;
 
 import org.eclipse.jface.resource.CompositeImageDescriptor;
 import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.util.Assert;
+//incastrix
+//import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
 import org.eclipse.swt.graphics.ImageData;
 import org.eclipse.swt.graphics.Point;
 
@@ -109,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>.
@@ -121,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