org.eclipse.jface.text.source
public static final class AnnotationPainter.HighlightingStrategy extends Object implements AnnotationPainter.ITextStyleStrategy
| Constructor and Description |
|---|
AnnotationPainter.HighlightingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTextStyle(StyleRange styleRange,
Color annotationColor)
Applies a text style on the given
StyleRange. |
public AnnotationPainter.HighlightingStrategy()
public void applyTextStyle(StyleRange styleRange, Color annotationColor)
AnnotationPainter.ITextStyleStrategyStyleRange.applyTextStyle in interface AnnotationPainter.ITextStyleStrategystyleRange - the style range on which to apply the text styleannotationColor - the color of the annotationGuidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.