Eclipse Platform
2.1

org.eclipse.jface.text.source
Interface ISourceViewerExtension

All Known Implementing Classes:
SourceViewer

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 viewport, 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.

Clients may implement this interface or use the default implementation provided by SourceViewer.

Since:
2.1

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
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.