org.eclipse.xtend.ide.editor
Class InitiallyCollapsableAwareFoldingStructureProvider

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
      extended by org.eclipse.xtend.ide.editor.InitiallyCollapsableAwareFoldingStructureProvider
All Implemented Interfaces:
IFoldingStructureProvider, IXtextModelListener

public class InitiallyCollapsableAwareFoldingStructureProvider
extends DefaultFoldingStructureProvider

Author:
Holger Schill - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
DefaultFoldingStructureProvider.ProjectionChangeListener
 
Constructor Summary
InitiallyCollapsableAwareFoldingStructureProvider()
           
 
Method Summary
protected  org.eclipse.jface.text.source.projection.ProjectionAnnotation createProjectionAnnotation(boolean allowInitiallyCollapse, org.eclipse.jface.text.Position foldedRegion)
           
 void initialize()
          (Re-)initializes the structure provided by the receiver.
 
Methods inherited from class org.eclipse.xtext.ui.editor.folding.DefaultFoldingStructureProvider
addProjectionAnnotation, calculateProjectionAnnotationModel, handleProjectionDisabled, handleProjectionEnabled, install, isInstalled, mergeFoldingRegions, modelChanged, uninstall, updateFoldingRegions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitiallyCollapsableAwareFoldingStructureProvider

public InitiallyCollapsableAwareFoldingStructureProvider()
Method Detail

createProjectionAnnotation

protected org.eclipse.jface.text.source.projection.ProjectionAnnotation createProjectionAnnotation(boolean allowInitiallyCollapse,
                                                                                                   org.eclipse.jface.text.Position foldedRegion)
Overrides:
createProjectionAnnotation in class DefaultFoldingStructureProvider

initialize

public void initialize()
Description copied from interface: IFoldingStructureProvider
(Re-)initializes the structure provided by the receiver.

Specified by:
initialize in interface IFoldingStructureProvider
Overrides:
initialize in class DefaultFoldingStructureProvider