|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.internal.ui.text.folding.DefaultCFoldingStructureProvider
public class DefaultCFoldingStructureProvider
Default implementation of a ICFoldingStructureProvider
.
Derived from JDT counterpart.
Constructor Summary | |
---|---|
DefaultCFoldingStructureProvider()
Creates a new folding provider. |
Method Summary | |
---|---|
void |
initialize()
(Re-)initializes the structure provided by the receiver. |
void |
install(org.eclipse.ui.texteditor.ITextEditor 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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCFoldingStructureProvider()
installed
on an editor/viewer pair before it
can be used, and uninstalled
when not used any longer.
The projection state may be reset by calling initialize()
.
Method Detail |
---|
public void install(org.eclipse.ui.texteditor.ITextEditor editor, org.eclipse.jface.text.source.projection.ProjectionViewer viewer)
ICFoldingStructureProvider
viewer
and enable / disable generation of projection
structure accordingly.
install
in interface ICFoldingStructureProvider
editor
- the editor that this provider works onviewer
- the projection viewer that displays the annotations created
by this structure providerpublic void uninstall()
ICFoldingStructureProvider
uninstall
in interface ICFoldingStructureProvider
public final void initialize()
ICFoldingStructureProvider
initialize
in interface ICFoldingStructureProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |