Remove import of org.eclipse.ui.externaltools.internal.model.ExternalToolBuilder...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / BreakpointImageProvider.java
index c425748..b57d14d 100644 (file)
 package net.sourceforge.phpeclipse.phpeditor;
 
 import org.eclipse.core.resources.IMarker;
-
 import org.eclipse.debug.ui.DebugUITools;
 import org.eclipse.debug.ui.IDebugModelPresentation;
-
-import org.eclipse.swt.graphics.Image;
-
 import org.eclipse.jface.resource.ImageDescriptor;
-
 import org.eclipse.jface.text.source.Annotation;
-
+import org.eclipse.swt.graphics.Image;
 import org.eclipse.ui.texteditor.IAnnotationImageProvider;
 import org.eclipse.ui.texteditor.MarkerAnnotation;
 
 /**
  * BreakpointImageProvider
+ * 
  * @since 3.0
  */
 public class BreakpointImageProvider implements IAnnotationImageProvider {
-       
+
        private IDebugModelPresentation fPresentation;
 
        /*
@@ -37,12 +33,12 @@ public class BreakpointImageProvider implements IAnnotationImageProvider {
         */
        public Image getManagedImage(Annotation annotation) {
                if (annotation instanceof MarkerAnnotation) {
-                       MarkerAnnotation markerAnnotation= (MarkerAnnotation) annotation;
-                       IMarker marker= markerAnnotation.getMarker();
+                       MarkerAnnotation markerAnnotation = (MarkerAnnotation) annotation;
+                       IMarker marker = markerAnnotation.getMarker();
                        if (marker != null && marker.exists())
                                return getPresentation().getImage(marker);
                }
-               
+
                return null;
        }
 
@@ -59,10 +55,10 @@ public class BreakpointImageProvider implements IAnnotationImageProvider {
        public ImageDescriptor getImageDescriptor(String imageDescritporId) {
                return null;
        }
-       
+
        private IDebugModelPresentation getPresentation() {
-               if (fPresentation == null) 
-                       fPresentation= DebugUITools.newDebugModelPresentation();
+               if (fPresentation == null)
+                       fPresentation = DebugUITools.newDebugModelPresentation();
                return fPresentation;
        }
 }