Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.jface.text.source
Interface ISourceViewerExtension2

All Known Implementing Classes:
  SourceViewer

public interface ISourceViewerExtension2

Extension interface for `ISourceViewer`.

Allows the source viewer to roll back a previous configuration process and allows clients access to the viewer's visual annotation model.

Since:
  3.0

Method Summary
`IAnnotationModel` | `getVisualAnnotationModel()` Returns the visual annotation model of this viewer.
`void` | `unconfigure()` Rolls back the configuration process of this source viewer.

Method Detail

### unconfigure

    public void unconfigure()

  Rolls back the configuration process of this source viewer. The source viewer can be configured again after a call to this method. Unlike `ISourceViewer.configure(SourceViewerConfiguration)` this method can be called more than once without interleaving calls to `ISourceViewer.configure(SourceViewerConfiguration)`.

### getVisualAnnotationModel

    public IAnnotationModel getVisualAnnotationModel()

  Returns the visual annotation model of this viewer.

  Returns:
    the visual annotation model of this viewer

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Guidelines for using Eclipse APIs.

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