org.eclipse.ui.texteditor
Class DefaultRangeIndicator
java.lang.Object
|
+--org.eclipse.jface.text.source.Annotation
|
+--org.eclipse.ui.texteditor.DefaultRangeIndicator
- public class DefaultRangeIndicator
- extends Annotation
Specialized annotation to indicate a particular range of text lines.
This class may be instantiated; it is not intended to be subclassed.
This class is instantiated automatically by AbstractTextEditor
.
Method Summary |
void |
paint(GC gc,
Canvas canvas,
Rectangle bounds)
Implement this method to draw a graphical representation
of this annotation within the given bounds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRangeIndicator
public DefaultRangeIndicator()
- Creates a new range indicator.
paint
public void paint(GC gc,
Canvas canvas,
Rectangle bounds)
- Description copied from class:
Annotation
- Implement this method to draw a graphical representation
of this annotation within the given bounds.
- Overrides:
paint
in class Annotation
- Following copied from class:
org.eclipse.jface.text.source.Annotation
- Parameters:
GC
- the drawing GCcanvas
- the canvas to draw onbounds
- the bounds inside the canvas to draw on
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.