When an annotation model is connected to an
any change to the document is reflected in the position of the managed annotations.
registered with an
object get informed about changes of the model in respect to annotations.
ISourceViewer defines the concept of a document based, editable
viewer supporting visual annotations.
ISourceViewer supports document-specific
and viewer-specific annotations attached to the viewer's input document.
ISourceViewer uses an
IAnnotationModel to manage annotations
and to inform implementers of
IAnnotationModelListener about changes
in respect to annotations. An
IVerticalRuler represents an
access adapter for an SWT widget capapble of display annotations.
This package also provides default implementations for all defined interfaces.
Interface Summary Interface Description AnnotationPainter.IDrawingStrategyA drawing strategy draws the decoration for an annotation onto the text widget. AnnotationPainter.ITextStyleStrategy IAnnotationAccessAn annotation access provides access to information that is not available via the API of
IAnnotationAccessExtensionExtension interface for
IAnnotationAccessExtension2Extension interface for
IAnnotationHoverProvides the information to be displayed in a hover popup window which appears over the presentation area of annotations. IAnnotationHoverExtensionExtension interface for
IAnnotationHoverfor providing its own information control creator providing the range of lines for which the hover for a given line is valid providing whether the information control can interact with the mouse cursor
IAnnotationHoverExtension2Extension interface for
IAnnotationHoverfor providing whether the information control can interact with the mouse wheel
IAnnotationMapAn annotation map is a map specialized for the requirements of an annotation model. IAnnotationModelThis interface defines the model for managing annotations attached to a document. IAnnotationModelExtensionExtends
IAnnotationModelwith the ability piggyback other annotation models.
IAnnotationModelwith the ability to retrieve a set of annotations within a given region.
IAnnotationModelListenerInterface for objects interested in getting informed about annotation model changes. IAnnotationModelListenerExtensionExtension interface for
IAnnotationPresentationInterface for annotations that can take care of their own visible representation. IChangeRulerColumnAn
IChangeRulerColumncan display quick diff information.
ICharacterPairMatcherA character pair matcher finds to a character at a certain document offset the matching peer character. ICharacterPairMatcherExtensionExtension interface for
ILineDifferProtocol that allows direct access to line information. ILineDifferExtensionExtension interface for
ILineDifferExtension2Extension interface for
ILineDiffInfoDescribes the change state of one line, which consists of the state of the line itself, which can be
ADDED, and the number of deleted lines before and after this line.
ILineRangeDescribes a range of lines. IOverviewRulerThis interface defines a visual component which may serve text viewers as an overview annotation presentation area. IOverviewRulerExtensionExtension interface for
ISharedTextColorsManages SWT color objects. ISourceViewerIn addition to the text viewer functionality a source viewer supports: visual annotations based on an annotation model visual range indication management of text viewer add-ons explicit configuration It is assumed that range indication and visual annotations are shown inside the same presentation area. ISourceViewerExtension ISourceViewerExtension2 ISourceViewerExtension3 ISourceViewerExtension4 ISourceViewerExtension5 IVerticalRulerThis interface defines a visual component which may serve text viewers as an annotation presentation area. IVerticalRulerColumnA vertical ruler column is an element that can be added to a composite vertical ruler (
IVerticalRulerExtensionExtension interface for
IVerticalRulerInfoA vertical ruler is a visual component which may serve text viewers as an annotation presentation area. IVerticalRulerInfoExtensionExtension interface for
IVerticalRulerListenerInterface for listening to annotation related events happening on a vertical ruler.
Class Summary Class Description AbstractRulerColumn AnnotationAnnotation managed by an
AnnotationBarHoverManagerThis manager controls the layout, content, and visibility of an information control in reaction to mouse hover events issued by the vertical ruler of a source viewer. AnnotationColumn Deprecated.use
AnnotationModelStandard implementation of
IAnnotationModeland its extension interfaces.
AnnotationModelEventSpecification of changes applied to annotation models. AnnotationPainterPaints decorations for annotations provided by an annotation model and/or highlights them in the associated source viewer. AnnotationPainter.BoxStrategyBox text style strategy. AnnotationPainter.HighlightingStrategy AnnotationPainter.NullStrategyDrawing strategy that does nothing. AnnotationPainter.SquigglesStrategy Deprecated.As of 3.4, replaced by
AnnotationPainter.UnderlineStrategyUnderline text style strategy. AnnotationRulerColumnA vertical ruler column showing graphical representations of annotations. ChangeRulerColumnA vertical ruler column displaying line numbers and serving as a UI for quick diff. CompositeRulerStandard implementation of
ContentAssistantFacadeFacade to allow minimal access to the given content assistant. DefaultAnnotationHoverStandard implementation of
DefaultCharacterPairMatcherA character pair matcher that matches a specified set of character pairs against each other. ImageUtilitiesProvides methods for drawing images onto a canvas. LineChangeHoverA hover for line oriented diffs. LineNumberChangeRulerColumnA vertical ruler column displaying line numbers and serving as a UI for quick diff. LineNumberRulerColumnA vertical ruler column displaying line numbers. LineRangeDefault implementation of
MatchingCharacterPainterHighlights the peer character matching the character near the caret position, or a pair of peer characters enclosing the caret position. OverviewRulerRuler presented next to a source viewer showing all annotations of the viewer's annotation model in a compact format. SourceViewerSWT based implementation of
ISourceViewerand its extension interfaces.
SourceViewerConfigurationThis class bundles the configuration space of a source viewer. TextInvocationContextText quick assist invocation context. VerticalRulerA vertical ruler which is connected to a text viewer. VerticalRulerEventAn event sent to
IVerticalRulerListenerinstances when annotation related event occurs on the vertical ruler.