Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager Class Reference

List of all members.

Classes

class  CustomMarkerAnnotationAccess

Public Member Functions

void installPainter (ISourceViewer sourceViewer)
void uninstallPainter (ISourceViewer sourceViewer, boolean redraw)
void uninstallAllPainters (boolean redraw)
void registerDrawingStrategy (String annotationType, IDrawingStrategy strategy)
void registerAnnotation (String annotationType, int layer)

Member Function Documentation

void de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager.installPainter ( ISourceViewer  sourceViewer)

Installs a custom annotation painter to the given source viewer. If there is already an custom annotation painter installed this method just returns.

Parameters:
sourceViewer
void de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager.registerAnnotation ( String  annotationType,
int  layer 
)
void de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager.registerDrawingStrategy ( String  annotationType,
IDrawingStrategy  strategy 
)
void de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager.uninstallAllPainters ( boolean  redraw)

Uninstalls all custom annotation painters that were installed by installPainter(ISourceViewer).

Parameters:
redraw
void de.fu_berlin.inf.dpp.editor.internal.CustomAnnotationManager.uninstallPainter ( ISourceViewer  sourceViewer,
boolean  redraw 
)

Uninstalls the custom annotation painter from the given source viewer. If there is no custom annotation painter installed this method just returns.

Parameters:
sourceViewer
redraw
 All Classes Namespaces Files Functions Variables Enumerations