Examples of AIFComponentChangeEvent


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

  public void processComponentEvents(final AIFComponentEvent[] componentEvents) {
    super.processComponentEvents(componentEvents);

    for (final AIFComponentEvent event : componentEvents) {
      if (event instanceof AIFComponentChangeEvent) {
        AIFComponentChangeEvent pce = (AIFComponentChangeEvent) event;

        List<ISectionComponent> list = getContainedSections(pce.getComponent());

        if (list != null) {
          ISectionComponent[] finalList = getSectionComponents();

          ApplicationTaskPaneSectionChangeEvent evt = new ApplicationTaskPaneSectionChangeEvent(this, this.getID(), finalList, null);
View Full Code Here

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

        String str = aifComponent.getUid();
        removeSectionComponents(new String[] { str });
      } else {
        if (!(componentEvent instanceof AIFComponentChangeEvent))
          continue;
        AIFComponentChangeEvent aifComponentChangeEvent = (AIFComponentChangeEvent) componentEvent;
        List<ISectionComponent> containedSections = getContainedSections(aifComponentChangeEvent.getComponent());
        if (containedSections == null)
          continue;
        Iterator<ISectionComponent> containedSectionsIterator = containedSections.iterator();
        while (containedSectionsIterator.hasNext()) {
          ISectionComponent sectionComponent = (ISectionComponent) containedSectionsIterator.next();
          sectionComponent.setTitle(aifComponentChangeEvent.getComponent().toString());
        }
      }
    }
  }
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.