Package gov.nasa.arc.mct.services.internal.component

Examples of gov.nasa.arc.mct.services.internal.component.ComponentInitializer


        }
      }
     
      // Update child component IDs in the view state data since the child IDs
      // have been changed.
      ComponentInitializer initializer = parentComp.getMctComp()
                                     .getCapability(ComponentInitializer.class);
      if (initializer.getAllViewRoleProperties().size() > 0) {
        ExtendedProperties properties = initializer
            .getViewRoleProperties("gov.nasa.arc.mct.canvas.view.CanvasView");
        updateCompIdInView(properties);
      }
    }
   
View Full Code Here


    // Note: Date and ID should be set by the persistence layer. Creator is set by
    // the registry.
    comp.setDisplayName(xmlComp.getName());
    comp.setExternalKey(xmlComp.getExternalKey());
    ComponentInitializer initializer = comp.getCapability(ComponentInitializer.class);
    initializer.setOwner(owner);

    if (xmlComp.getComponentRefs() != null &&
        xmlComp.getComponentRefs().size() != 0) {
      // Import a referenced component
     
View Full Code Here

  /**
   * Set owner of new AbstractComponents
   * @param comp AbstractComponent being created
   */
  private void setOwner(AbstractComponent comp) {
    ComponentInitializer initializer = comp
                      .getCapability(ComponentInitializer.class);
    initializer.setOwner(owner);
  }
View Full Code Here

TOP

Related Classes of gov.nasa.arc.mct.services.internal.component.ComponentInitializer

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.