Eclipse Platform
2.0

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.


Constructor Summary
DefaultRangeIndicator()
          Creates a new range indicator.
 
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 org.eclipse.jface.text.source.Annotation
drawImage, drawImage, getLayer, setLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRangeIndicator

public DefaultRangeIndicator()
Creates a new range indicator.

Method Detail

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.

Specified by:
paint in class Annotation
Parameters:
canvas - the canvas to draw on
bounds - the bounds inside the canvas to draw on

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.