public interface IFoldingStructureProvider
Modifier and Type | Method and Description |
---|---|
void |
initialize()
(Re-)initializes the structure provided by the receiver.
|
void |
install(XtextEditor editor,
org.eclipse.jface.text.source.projection.ProjectionViewer viewer)
Installs this structure provider on the given editor and viewer.
|
void |
uninstall()
Uninstalls this structure provider.
|
void install(XtextEditor editor, org.eclipse.jface.text.source.projection.ProjectionViewer viewer)
viewer
and enable / disable generation of projection structure accordingly.editor
- the editor that this provider works onviewer
- the projection viewer that displays the annotations created by this structure providervoid uninstall()
void initialize()