public interface IJavaFoldingStructureProvider
org.eclipse.jdt.ui.foldingStructureProviderextension point must specify an implementation of this interface which will create and maintain
ProjectionAnnotationobjects that define folded regions in the
Clients may implement this interface.
In order to provide backward compatibility for clients of
interfaces are used to provide a means of evolution. The following extension interfaces exist:
IJavaFoldingStructureProviderExtensionsince version 3.2 introducing the following functions:
|Modifier and Type||Method and Description|
(Re-)initializes the structure provided by the receiver.
Installs this structure provider on the given editor and viewer.
Uninstalls this structure provider.
void install(ITextEditor editor, ProjectionViewer viewer)
viewerand enable / disable generation of projection structure accordingly.
editor- the editor that this provider works on
viewer- the projection viewer that displays the annotations created by this structure provider
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.