Eclipse Platform
Release 3.4

org.eclipse.jface.text.source
Class AnnotationPainter.BoxStrategy

java.lang.Object
  extended byorg.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 Summary
AnnotationPainter.BoxStrategy(int style)
           
 
Method Summary
 void applyTextStyle(StyleRange styleRange, Color annotationColor)
          Applies a text style on the given StyleRange.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationPainter.BoxStrategy

public AnnotationPainter.BoxStrategy(int style)
Method Detail

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 style
annotationColor - the color of the annotation

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.