# Package org.eclipse.wst.jsdt.ui.text.folding

Interface Summary
IJavaFoldingPreferenceBlock: Contributors to the `org.eclipse.wst.jsdt.ui.foldingStructureProvider` extension point can specify an implementation of this interface to be displayed on the JavaScript > Editor > Folding preference page.
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`.
IJavaFoldingStructureProviderExtension: Extends `IJavaFoldingStructureProvider` with the following functions: collapsing of comments and members expanding and collapsing of certain JavaScript elements Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability.

Class Summary
DefaultJavaFoldingStructureProvider: Updates the projection model of a class file or compilation unit.
DefaultJavaFoldingStructureProvider.JavaProjectionAnnotation: A `ProjectionAnnotation` for JavaScript code.