public class DefaultRangeIndicator extends Annotation implements IAnnotationPresentation
This class may be instantiated; it is not intended to be subclassed.
This class is instantiated automatically by AbstractTextEditor.
TYPE_UNKNOWNDEFAULT_LAYER| Constructor and Description |
|---|
DefaultRangeIndicator()
Creates a new range indicator.
|
| 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.
|
getText, getType, isMarkedDeleted, isPersistent, markDeleted, setText, setTypepublic DefaultRangeIndicator()
public void paint(GC gc, Canvas canvas, Rectangle bounds)
IAnnotationPresentationpaint in interface IAnnotationPresentationgc - the drawing GCcanvas - the canvas to draw onbounds - the bounds inside the canvas to draw onpublic int getLayer()
IAnnotationPresentationgetLayer in interface IAnnotationPresentationGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.