Package com.cb.eclipse.folding.java

Examples of com.cb.eclipse.folding.java.JavaPositionMetadata


      fold = FoldingPlugin.getBoolean(PreferenceKeys.FOLD_TOP_TYPES);
    }

    if (fold) {
     
      addRegion(new EnhancedPosition(position, range.getOffset() + (range.getLength() - position), new JavaPositionMetadata(false, negateLine, collapse, false, null)));
    }

  }
View Full Code Here


          int matchedStart;
          if(!trackers.isEmpty()) {
            RegionTracker tracker = (RegionTracker)trackers.pop();
            matchedStart = tracker.start;
            boolean doCollapse = settings.isDefaultCollapsed();
            EnhancedPosition newPos = new EnhancedPosition(matchedStart, end-matchedStart, new JavaPositionMetadata(true, true, doCollapse, true, null));         
            super.addRegion(newPos);
          }
           
        }
      }
View Full Code Here

TOP

Related Classes of com.cb.eclipse.folding.java.JavaPositionMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.