Package org.emftrace.ui.editors.builders.parts

Examples of org.emftrace.ui.editors.builders.parts.ListPart


   * @param parent
   *            the parent Composite
   */
  protected void addFTEntries(List<FTEntry> entries, Composite parent) {
    for (FTEntry entry : entries) {
      ListPart part = null;
      int level = ancestorsCount(entry);
      if (entry instanceof FactorCategory) {
        part = addCategoryPart((FactorCategory) entry, parent, level);
      } else if (entry instanceof Factor) {
        part = addFactorPart((Factor) entry, parent, level);
      } else {
        addErrorMessage("Unknow ModelElement: "
            + entry.eClass().toString() + "\n");
      }

      // add sub-entries
      addFTEntries(entry.getChildren(), part.getChildrenComposite());
    }

  }
View Full Code Here

TOP

Related Classes of org.emftrace.ui.editors.builders.parts.ListPart

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.