public interface IAnnotationPresentation
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LAYER
The default annotation layer.
|
Modifier and Type | Method and Description |
---|---|
int |
getLayer()
Returns the annotations drawing layer.
|
void |
paint(GC gc,
Canvas canvas,
Rectangle bounds)
Implement this method to draw a graphical representation
of this annotation within the given bounds.
|
static final int DEFAULT_LAYER
int getLayer()
void paint(GC gc, Canvas canvas, Rectangle bounds)
Note that this method is not used when drawing annotations on the editor's
text widget. This is handled trough a AnnotationPainter.IDrawingStrategy
.
gc
- the drawing GCcanvas
- the canvas to draw onbounds
- the bounds inside the canvas to draw on
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.