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.

Since:
2.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Shows/hides an overview representation of the annotations of the whole document of this viewer.
  • Method Details

    • showAnnotationsOverview

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