Package org.eclipse.jface.text.source
Class AnnotationPainter.HighlightingStrategy
java.lang.Object
org.eclipse.jface.text.source.AnnotationPainter.HighlightingStrategy
- All Implemented Interfaces:
AnnotationPainter.ITextStyleStrategy
- Enclosing class:
- AnnotationPainter
public static final class AnnotationPainter.HighlightingStrategy
extends Object
implements AnnotationPainter.ITextStyleStrategy
- Since:
- 3.4
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTextStyle
(StyleRange styleRange, Color annotationColor) Applies a text style on the givenStyleRange
.
-
Constructor Details
-
HighlightingStrategy
public HighlightingStrategy()
-
-
Method Details
-
applyTextStyle
Description copied from interface:AnnotationPainter.ITextStyleStrategy
Applies a text style on the givenStyleRange
.- Specified by:
applyTextStyle
in interfaceAnnotationPainter.ITextStyleStrategy
- Parameters:
styleRange
- the style range on which to apply the text styleannotationColor
- the color of the annotation
-