Package com.teamcenter.rac.aif.kernel

Examples of com.teamcenter.rac.aif.kernel.InterfaceAIFComponent


    super.close();
  }


  public void componentOpened(ComponentOpenedEvent e) {
    InterfaceAIFComponent openedCmp = e.getComponentOpened();
    if (!(openedCmp instanceof TCComponentBOMLine)) {
      return;
    }

    // add it to the OpenItems section
View Full Code Here


    }
  }


  public void componentClosed(ComponentClosedEvent e) {
    InterfaceAIFComponent compClosed = e.getComponentClosed();
    if (compClosed == null) {
      return;
    }
    if (!(compClosed instanceof TCComponentQuery)) {

      if (appTaskPane.getPerspectiveId() == null || !appTaskPane.getPerspectiveId().equals(PitConBrowserPerspective.ID)) {
        return;
      }
    }

    try {
      String closedCompId = compClosed.getUid();
      if (!(compClosed instanceof TCComponentQuery)) {
        removeSectionComponents(new String[] { closedCompId });
      } else {
        Object[] additionInfo = e.getAdditionalInfo();
        removeQuerySectionComponent(closedCompId, (String) additionInfo[0]);
View Full Code Here

    if (openedComps == null || openedComps.length == 0) {
      return;
    }

    // No targetComp so no need continue
    InterfaceAIFComponent targetComp = e.getTargetComponent();
    String targetId = e.getTargetId();
    if (targetComp == null && targetId == null) {
      return;
    }

    InterfaceAIFComponent tempComp;
    String tempId;
    ISectionComponent updateSecComp = null;
    for (ISectionComponent element : openedComps) {
      tempComp = element.getTCComponent();
      tempId = element.getID();
View Full Code Here

  public void processComponentEvents(AIFComponentEvent[] componentEvents) {
    Arrays.sort(componentEvents);
    for (AIFComponentEvent componentEvent : componentEvents) {
      if ((componentEvent instanceof AIFComponentDeleteEvent)) {
        InterfaceAIFComponent aifComponent = componentEvent.getComponent();
        if (!contains(aifComponent))
          continue;
        String str = aifComponent.getUid();
        removeSectionComponents(new String[] { str });
      } else {
        if (!(componentEvent instanceof AIFComponentChangeEvent))
          continue;
        AIFComponentChangeEvent aifComponentChangeEvent = (AIFComponentChangeEvent) componentEvent;
View Full Code Here

    this.sectionComponents = sectionComponents;
  }


  public void componentsSynchronized() {
    InterfaceAIFComponent dummyAifComponent;
    try {
      dummyAifComponent = findItem("006969", "Item");

      List<ISectionComponent> sectionComponents = new ArrayList<ISectionComponent>();
View Full Code Here

TOP

Related Classes of com.teamcenter.rac.aif.kernel.InterfaceAIFComponent

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.