Interface ISourceViewerExtension

  • All Known Implementing Classes:
    ProjectionViewer, SourceViewer, TextConsoleViewer

    public interface ISourceViewerExtension
    Extension interface for ISourceViewer.

    Extends the source viewer with the concept of an annotation overview. The annotation overview differs from the annotation presentation in that it is independent from the viewer's view port, i.e. the annotations of the whole document are visible. There are no assumptions about the area in which the annotation overview is shown.

    As the visibility of annotation overview can dynamically be changed, it is assumed that the presentation area can dynamically be hidden if it is different from the text widget.

    See Also:
    • Method Detail

      • showAnnotationsOverview

        void showAnnotationsOverview​(boolean show)
        Shows/hides an overview representation of the annotations of the whole document of this viewer.
        show - true if annotation overview should be visible, false otherwise