Package org.eclipse.jface.text.source
Class AnnotationPainter.BoxStrategy
java.lang.Object
org.eclipse.jface.text.source.AnnotationPainter.BoxStrategy
- All Implemented Interfaces:
- AnnotationPainter.ITextStyleStrategy
- Enclosing class:
- AnnotationPainter
public static final class AnnotationPainter.BoxStrategy
extends Object
implements AnnotationPainter.ITextStyleStrategy
Box text style strategy.
- Since:
- 3.4
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyTextStyle(StyleRange styleRange, Color annotationColor) Applies a text style on the givenStyleRange.
- 
Constructor Details- 
BoxStrategypublic BoxStrategy(int style) 
 
- 
- 
Method Details- 
applyTextStyleDescription copied from interface:AnnotationPainter.ITextStyleStrategyApplies a text style on the givenStyleRange.- Specified by:
- applyTextStylein interface- AnnotationPainter.ITextStyleStrategy
- Parameters:
- styleRange- the style range on which to apply the text style
- annotationColor- the color of the annotation
 
 
-