org.eclipse.jface.text.source
public static final class AnnotationPainter.BoxStrategy extends Object implements AnnotationPainter.ITextStyleStrategy
| Constructor and Description |
|---|
AnnotationPainter.BoxStrategy(int style) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTextStyle(StyleRange styleRange,
Color annotationColor)
Applies a text style on the given
StyleRange. |
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.