|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.jface.text.source.AnnotationPainter
Highlights annotations.
Field Summary |
Fields inherited from interface org.eclipse.jface.text.IPainter |
CONFIGURATION, INTERNAL, KEY_STROKE, MOUSE_BUTTON, SELECTION, TEXT_CHANGE |
Constructor Summary | |
AnnotationPainter(ISourceViewer sourceViewer,
IAnnotationAccess access)
|
Method Summary | |
void |
addAnnotationType(Object annotationType)
|
void |
deactivate(boolean redraw)
Deactivates the painter. |
void |
dispose()
Disposes this painter. |
boolean |
isPaintingAnnotations()
|
void |
modelChanged(IAnnotationModel model)
Called if a model change occurred on the given model. |
void |
paint(int reason)
|
void |
paintControl(PaintEvent event)
Sent when a paint event occurs for the control. |
void |
removeAllAnnotationTypes()
|
void |
removeAnnotationType(Object annotationType)
|
void |
setAnnotationTypeColor(Object annotationType,
Color color)
|
void |
setPositionManager(IPaintPositionManager manager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AnnotationPainter(ISourceViewer sourceViewer, IAnnotationAccess access)
Method Detail |
public void modelChanged(IAnnotationModel model)
IAnnotationModelListener
modelChanged
in interface IAnnotationModelListener
model
- the changed annotation modelpublic void setAnnotationTypeColor(Object annotationType, Color color)
public void addAnnotationType(Object annotationType)
public void removeAnnotationType(Object annotationType)
public void removeAllAnnotationTypes()
public boolean isPaintingAnnotations()
public void dispose()
IPainter
XXX: The relationship with deactivate is not yet defined.
dispose
in interface IPainter
public void paintControl(PaintEvent event)
PaintListener
paintControl
in interface PaintListener
event
- an event containing information about the paintpublic void deactivate(boolean redraw)
IPainter
XXX: The relationship with dispose is not yet defined.
deactivate
in interface IPainter
public void paint(int reason)
paint
in interface IPainter
public void setPositionManager(IPaintPositionManager manager)
setPositionManager
in interface IPainter
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |