|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAnnotationPresentation
Interface for annotations that can take care of their own visible representation.
| Field Summary | |
|---|---|
static int |
DEFAULT_LAYER
The default annotation layer. |
| Method Summary | |
|---|---|
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. |
| Field Detail |
|---|
static final int DEFAULT_LAYER
| Method Detail |
|---|
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
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.