Examples of ISectionComponent


Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent


  private List<ISectionComponent> getContainedSections(InterfaceAIFComponent interfaceAIFComponent) {
    List<ISectionComponent> sectionComponents = new ArrayList<ISectionComponent>();
    for (int i = 0; (this.sectionComponents != null) && (i < this.sectionComponents.size()); i++) {
      ISectionComponent sectionComponent = (ISectionComponent) this.sectionComponents.get(i);
      if ((interfaceAIFComponent == null) || (sectionComponent.getTCComponent() != interfaceAIFComponent))
        continue;
      sectionComponents.add(sectionComponent);
    }
    if (sectionComponents.size() == 0)
      return null;
View Full Code Here

Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent

  private boolean contains(InterfaceAIFComponent interfaceAIFComponent) {
    if ((interfaceAIFComponent != null) && (this.sectionComponents != null)) {
      Iterator<ISectionComponent> iterator = this.sectionComponents.iterator();
      while (iterator.hasNext()) {
        ISectionComponent sectionComponent = (ISectionComponent) iterator.next();
        if (sectionComponent.getTCComponent() == interfaceAIFComponent)
          return true;
      }
    }
    return false;
  }
View Full Code Here

Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent

  }


  private void loadDefaultSectionComponents(String[] sectionComponentIdz) {
    for (int i = 0; (sectionComponentIdz != null) && (i < sectionComponentIdz.length); i++) {
      ISectionComponent sectionComponent = getDefaultSectionComponent(sectionComponentIdz[i]);
      if (sectionComponent == null)
        continue;
      if (this.sectionComponents == null)
        this.sectionComponents = new ArrayList<ISectionComponent>();
      this.sectionComponents.add(sectionComponent);
View Full Code Here

Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent

  }


  private ISectionComponent getDefaultSectionComponent(String paramString) {
    Registry localRegistry = Registry.getRegistry(this);
    ISectionComponent sectionComponent = SectionComponent.createSectionComponent(paramString, this, localRegistry);
    return sectionComponent;
  }
View Full Code Here

Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent

  }


  private ISectionComponent getSectionComponentByCommandId(String sectionComponentId) {
    for (int i = 0; (this.sectionComponents != null) && (i < this.sectionComponents.size()); i++) {
      ISectionComponent sectionComponent = (ISectionComponent) this.sectionComponents.get(i);
      if ((sectionComponent.getCommandId() == null) || (!sectionComponent.getCommandId().equals(sectionComponentId)))
        continue;
      return sectionComponent;
    }
    return null;
  }
View Full Code Here

Examples of com.teamcenter.rac.aif.navigationpane.ISectionComponent

  private ISectionComponent getSectionComponent(String sectionComponentId, String sectionComponentTitle) {
    if ((sectionComponentTitle == null) || (sectionComponentTitle.length() == 0))
      return getSectionComponent(sectionComponentId);
    for (int i = 0; (this.sectionComponents != null) && (i < this.sectionComponents.size()); i++) {
      ISectionComponent sectionComponent = (ISectionComponent) this.sectionComponents.get(i);
      if ((!sectionComponent.getID().equals(sectionComponentId)) || (!sectionComponentTitle.equals(sectionComponent.getTitle())))
        continue;
      return sectionComponent;
    }
    return null;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.