/**
* BreakpointImageProvider
+ *
* @since 3.0
*/
public class BreakpointImageProvider implements IAnnotationImageProvider {
-
+
private IDebugModelPresentation fPresentation;
/*
*/
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;
}
public ImageDescriptor getImageDescriptor(String imageDescritporId) {
return null;
}
-
+
private IDebugModelPresentation getPresentation() {
- if (fPresentation == null)
- fPresentation= DebugUITools.newDebugModelPresentation();
+ if (fPresentation == null)
+ fPresentation = DebugUITools.newDebugModelPresentation();
return fPresentation;
}
}