Method Summary |
|
protected static Image | getImage(Display display, ImageDescriptor descriptor) Returns an image for the given display as specified by the given image
descriptor. |
protected Image | getImage(String name) Returns the image of the given name. |
protected Image | getImage(Display display) Returns an image for this annotation. |
protected static Map | getImageRegistry(Display display) Returns an image registry for the given display. |
public int | getLayer() Returns the annotations drawing layer. |
protected String | getUnknownImageName(IMarker marker) Returns the name of an image used to visually represent markers of
unknown type. |
protected void | initialize() Initializes the annotation's icon representation and its drawing layer
based upon the properties of the underlying marker. |
public boolean | isQuickFixable() |
public boolean | isQuickFixableStateSet() |
public void | paint(GC gc, Canvas canvas, Rectangle r) Implement this method to draw a graphical representation of this
annotation within the given bounds. |
protected void | setImage(Image image) Sets the marker image to the given image. |
protected void | setLayer(int layer) Sets the layer of this annotation. |
public void | setQuickFixable(boolean state) |
public void | update() Informs this annotation about changes applied to its underlying marker
and adapts to those changes. |