1) Reintroduced PHPPerspectiveFactory (was lost with refactoring).
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpdt / ui / ProblemsLabelDecorator.java
index 2a48670..4beed98 100644 (file)
@@ -32,7 +32,9 @@ import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.text.Position;
 import org.eclipse.jface.text.source.Annotation;
 import org.eclipse.jface.text.source.IAnnotationModel;
-import org.eclipse.jface.util.ListenerList;
+//incastrix
+//import org.eclipse.jface.util.ListenerList;
+import org.eclipse.core.runtime.ListenerList;
 import org.eclipse.jface.viewers.IBaseLabelProvider;
 import org.eclipse.jface.viewers.IDecoration;
 import org.eclipse.jface.viewers.ILabelDecorator;
@@ -71,6 +73,10 @@ public class ProblemsLabelDecorator implements ILabelDecorator,
        public static class ProblemsLabelChangedEvent extends
                        LabelProviderChangedEvent {
 
+               /**
+                * 
+                */
+               private static final long serialVersionUID = -7557704732816971319L;
                private boolean fMarkerChange;
 
                /**
@@ -112,10 +118,10 @@ public class ProblemsLabelDecorator implements ILabelDecorator,
        /**
         * Creates a new <code>ProblemsLabelDecorator</code>.
         */
-       public ProblemsLabelDecorator() {
-               this(null);
-               fUseNewRegistry = true;
-       }
+//     public ProblemsLabelDecorator() {
+//             this(null);
+//             fUseNewRegistry = true;
+//     }
 
        /*
         * Creates decorator with a shared image registry.