Class CustomFoldingStructureProvider
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
-
- com._1c.g5.v8.dt.lcore.ui.folding.CustomFoldingStructureProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.folding.IFoldingStructureProvider
,org.eclipse.xtext.ui.editor.model.IXtextModelListener
public class CustomFoldingStructureProvider extends org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
Supports initial collapsing of folded positions. Clients should bind this implementation ofIFoldingStructureProvider
(or its subclass) in the language-specific UI module. Clients may extend this class.
-
-
Constructor Summary
Constructors Constructor Description CustomFoldingStructureProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.jface.text.source.projection.ProjectionAnnotation
createProjectionAnnotation(boolean allowInitiallyCollapse, org.eclipse.jface.text.Position position)
-
Methods inherited from class org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
addProjectionAnnotation, calculateProjectionAnnotationModel, filterFoldedPositions, getLineNumber, handleProjectionDisabled, handleProjectionEnabled, initialize, install, isInstalled, mergeFoldingRegions, modelChanged, uninstall, updateFoldingRegions
-
-
-
-
Method Detail
-
createProjectionAnnotation
protected org.eclipse.jface.text.source.projection.ProjectionAnnotation createProjectionAnnotation(boolean allowInitiallyCollapse, org.eclipse.jface.text.Position position)
- Overrides:
createProjectionAnnotation
in classorg.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
-
-