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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationPainter.HighlightingStrategy
public AnnotationPainter.HighlightingStrategy()
applyTextStyle
public void applyTextStyle(StyleRange styleRange,
Color annotationColor)
- Description copied from interface:
AnnotationPainter.ITextStyleStrategy
- Applies a text style on the given
StyleRange
.
- Specified by:
applyTextStyle
in interface AnnotationPainter.ITextStyleStrategy
- Parameters:
styleRange
- the style range on which to apply the text styleannotationColor
- the color of the annotation
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.