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.
ClassDescriptionAbstract implementation of a
IVerticalRulerColumnthat uses a
Canvasto draw the ruler contents and which handles scrolling and mouse selection.Annotation managed by an
IAnnotationModel.This 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.Deprecated.Standard implementation of
IAnnotationModeland its extension interfaces.Specification of changes applied to annotation models.Paints decorations for annotations provided by an annotation model and/or highlights them in the associated source viewer.Box text style strategy.A drawing strategy draws the decoration for an annotation onto the text widget.A text style painting strategy draws the decoration for an annotation onto the text widget by applying a
TextStyleon a given
StyleRange.Drawing strategy that does nothing.Deprecated.As of 3.4, replaced by
AnnotationPainter.UnderlineStrategyUnderline text style strategy.A vertical ruler column showing graphical representations of annotations.A vertical ruler column displaying line numbers and serving as a UI for quick diff.Standard implementation of
IVerticalRuler.Facade to allow minimal access to the given content assistant.Standard implementation of
IAnnotationHover.A character pair matcher that matches a specified set of character pairs against each other.An annotation access provides access to information that is not available via the API of
Annotation.Provides the information to be displayed in a hover popup window which appears over the presentation area of annotations.Extension 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 cursorExtension interface for
IAnnotationHoverfor providing whether the information control can interact with the mouse wheelAn annotation map is a map specialized for the requirements of an annotation model.This interface defines the model for managing annotations attached to a document.Extends
IAnnotationModelwith the ability piggyback other annotation models.Extends
IAnnotationModelwith the ability to retrieve a set of annotations within a given region.Interface for objects interested in getting informed about annotation model changes.Extension interface for
IAnnotationModelListener.Interface for annotations that can take care of their own visible representation.An
IChangeRulerColumncan display quick diff information.A character pair matcher finds to a character at a certain document offset the matching peer character.Extension interface for
ICharacterPairMatcher.Protocol that allows direct access to line information.Describes 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.Describes a range of lines.Provides methods for drawing images onto a canvas.This interface defines a visual component which may serve text viewers as an overview annotation presentation area.Extension interface for
IOverviewRuler.Manages SWT color objects.In 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.This interface defines a visual component which may serve text viewers as an annotation presentation area.A vertical ruler column is an element that can be added to a composite vertical ruler (
CompositeRuler).Extension interface for
IVerticalRuler.A vertical ruler is a visual component which may serve text viewers as an annotation presentation area.Extension interface for
IVerticalRulerInfo.Interface for listening to annotation related events happening on a vertical ruler.A hover for line oriented diffs.A vertical ruler column displaying line numbers and serving as a UI for quick diff.A vertical ruler column displaying line numbers.Default implementation of
ILineRange.Highlights the peer character matching the character near the caret position, or a pair of peer characters enclosing the caret position.Ruler presented next to a source viewer showing all annotations of the viewer's annotation model in a compact format.SWT based implementation of
ISourceViewerand its extension interfaces.This class bundles the configuration space of a source viewer.Text quick assist invocation context.A vertical ruler which is connected to a text viewer.An event sent to
IVerticalRulerListenerinstances when annotation related event occurs on the vertical ruler.