Package org.eclipse.jface.text.source
Package Specification
IAnnotationModels manage Annotations.
When an annotation model is connected to an IDocument,
any change to the document is reflected in the position of the managed annotations.
Implementers of IAnnotationModelListener
registered with an IAnnotationModel
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.
An ISourceViewer uses an IAnnotationModel to manage annotations
and to inform implementers of IAnnotationModelListener about changes
in respect to annotations. An IVerticalRuler represents an IAnnotationModel
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 aCanvasto draw the ruler contents and which handles scrolling and mouse selection.Annotation managed by anIAnnotationModel.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 ofIAnnotationModeland 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 aTextStyleon a givenStyleRange.Drawing strategy that does nothing.Deprecated.As of 3.4, replaced byAnnotationPainter.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 ofIVerticalRuler.Facade to allow minimal access to the given content assistant.Standard implementation ofIAnnotationHover.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 ofAnnotation.Extension interface forIAnnotationAccess.Extension interface forIAnnotationAccess.Provides the information to be displayed in a hover popup window which appears over the presentation area of annotations.Extension interface forIAnnotationHoverfor 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 forIAnnotationHoverfor 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.ExtendsIAnnotationModelwith the ability piggyback other annotation models.ExtendsIAnnotationModelwith 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 forIAnnotationModelListener.Interface for annotations that can take care of their own visible representation.AnIChangeRulerColumncan display quick diff information.A character pair matcher finds to a character at a certain document offset the matching peer character.Extension interface forICharacterPairMatcher.Protocol that allows direct access to line information.Extension interface forILineDiffer.Extension interface forILineDiffer.Describes the change state of one line, which consists of the state of the line itself, which can beUNCHANGED,CHANGEDorADDED, 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 forIOverviewRuler.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.Extension interface forISourceViewer.Extension interface forISourceViewer.Extension interface forISourceViewer.Extension interface forISourceViewer.Extension interface forISourceViewer.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 forIVerticalRuler.A vertical ruler is a visual component which may serve text viewers as an annotation presentation area.Extension interface forIVerticalRulerInfo.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 ofILineRange.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 ofISourceViewerand 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 toIVerticalRulerListenerinstances when annotation related event occurs on the vertical ruler.
AnnotationRulerColumn(int)instead.