Class InitiallyCollapsibleFoldedPosition

  • All Implemented Interfaces:
    org.eclipse.jface.text.source.projection.IProjectionPosition

    public class InitiallyCollapsibleFoldedPosition
    extends org.eclipse.xtext.ui.editor.folding.DefaultFoldedPosition
    Supports initial collapsing of folded positions. Copied from Xtend.
    • Field Summary

      • Fields inherited from class org.eclipse.jface.text.Position

        isDeleted, length, offset
    • Constructor Summary

      Constructors 
      Constructor Description
      InitiallyCollapsibleFoldedPosition​(int offset, int length, int contentStart, int contentLength, boolean initiallyCollapsed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isInitiallyCollapsed()  
      • Methods inherited from class org.eclipse.xtext.ui.editor.folding.DefaultFoldedPosition

        computeCaptionOffset, computeProjectionRegions, equals, hashCode, isInitiallyFolded, setInitiallyFolded
      • Methods inherited from class org.eclipse.jface.text.Position

        delete, getLength, getOffset, includes, isDeleted, overlapsWith, setLength, setOffset, toString, undelete
    • Constructor Detail

      • InitiallyCollapsibleFoldedPosition

        public InitiallyCollapsibleFoldedPosition​(int offset,
                                                  int length,
                                                  int contentStart,
                                                  int contentLength,
                                                  boolean initiallyCollapsed)
    • Method Detail

      • isInitiallyCollapsed

        public boolean isInitiallyCollapsed()