Package org.eclipse.jface.text.source
Interface AnnotationPainter.ITextStyleStrategy
-
- All Known Implementing Classes:
AnnotationPainter.BoxStrategy
,AnnotationPainter.HighlightingStrategy
,AnnotationPainter.UnderlineStrategy
- Enclosing class:
- AnnotationPainter
public static interface AnnotationPainter.ITextStyleStrategy
A text style painting strategy draws the decoration for an annotation onto the text widget by applying aTextStyle
on a givenStyleRange
.- Since:
- 3.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyTextStyle(StyleRange styleRange, Color annotationColor)
Applies a text style on the givenStyleRange
.
-
-
-
Method Detail
-
applyTextStyle
void applyTextStyle(StyleRange styleRange, Color annotationColor)
Applies a text style on the givenStyleRange
.- Parameters:
styleRange
- the style range on which to apply the text styleannotationColor
- the color of the annotation
-
-