|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJavaFoldingStructureProvider
Contributors to the
org.eclipse.wst.jsdt.ui.foldingStructureProvider
extension
point must specify an implementation of this interface which will create and
maintain org.eclipse.jface.text.source.projection.ProjectionAnnotation
objects
that define folded regions in the org.eclipse.jface.text.source.projection.ProjectionViewer
.
Clients may implement this interface.
In order to provide backward compatibility for clients of IJavaFoldingStructureProvider
, extension
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IJavaFoldingStructureProviderExtension
since version 3.2 introducing
the following functions:
Method Summary | |
---|---|
void |
initialize()
(Re-)initializes the structure provided by the receiver. |
void |
install(ITextEditor editor,
ProjectionViewer viewer)
Installs this structure provider on the given editor and viewer. |
void |
uninstall()
Uninstalls this structure provider. |
Method Detail |
---|
void install(ITextEditor editor, 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |