Eclipse Platform
Release 3.0

org.eclipse.jface.text.source
Interface ISourceViewerExtension

All Known Implementing Classes:
SourceViewer

public interface ISourceViewerExtension

Extension interface 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:
ISourceViewer

Method Summary
 void showAnnotationsOverview(boolean show)
          Shows/hides an overview representation of the annotations of the whole document of this viewer.
 

Method Detail

showAnnotationsOverview

public 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

Eclipse Platform
Release 3.0

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.