Package lapsePlus

Examples of lapsePlus.HistoryDefinitionLocation


      return files.size();
    }
    public int getTruncatedElementCount() {
      int result = 0;
      for (Iterator iter = elements.iterator(); iter.hasNext();) {
        HistoryDefinitionLocation element = (HistoryDefinitionLocation) iter.next();
        if(element.isMaxLevel()) {
          result++;
        }
      }
      return result;
    }
View Full Code Here


      HierarchicalViewContentProvider result = new HierarchicalViewContentProvider();
      // need to find the topmost element
      if(this.getTotalElementCount() == 0) {
        result.element = null;
      } else {
        HistoryDefinitionLocation dl = (HistoryDefinitionLocation) this.getAllElements()[0];
        do {
          if(dl.getParent() != null) {
            dl = (HistoryDefinitionLocation)dl.getParent();
          } else {
            break;
          }
        } while(true);
        // topmost element
View Full Code Here

TOP

Related Classes of lapsePlus.HistoryDefinitionLocation

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.