Class UnderlineDrawingStrategy
java.lang.Object
org.apache.uima.caseditor.editor.annotation.UnderlineDrawingStrategy
- All Implemented Interfaces:
org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy
public class UnderlineDrawingStrategy
extends Object
implements org.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy
Draws an line under an annotation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(org.eclipse.jface.text.source.Annotation annotation, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.custom.StyledText textWidget, int offset, int length, org.eclipse.swt.graphics.Color color) Draws a line under under a given annotation.
-
Constructor Details
-
UnderlineDrawingStrategy
public UnderlineDrawingStrategy()
-
-
Method Details
-
draw
public void draw(org.eclipse.jface.text.source.Annotation annotation, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.custom.StyledText textWidget, int offset, int length, org.eclipse.swt.graphics.Color color) Draws a line under under a given annotation.- Specified by:
drawin interfaceorg.eclipse.jface.text.source.AnnotationPainter.IDrawingStrategy- Parameters:
annotation- the annotationgc- the gctextWidget- the text widgetoffset- the offsetlength- the lengthcolor- the color
-