Package net.cis.common.model.shipdevice

Examples of net.cis.common.model.shipdevice.EngineDevice


    }
    Modeler modelElement = (Modeler) view.getElement();
    LinkedList<CismodelNodeDescriptor> result = new LinkedList<CismodelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getEngineDevices().iterator(); it
        .hasNext();) {
      EngineDevice childElement = (EngineDevice) it.next();
      int visualID = CismodelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == EngineDeviceEditPart.VISUAL_ID) {
        result.add(new CismodelNodeDescriptor(childElement, visualID));
        continue;
View Full Code Here


  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    EngineDevice newElement = ShipdeviceFactory.eINSTANCE
        .createEngineDevice();

    Modeler owner = (Modeler) getElementToEdit();
    owner.getEngineDevices().add(newElement);

View Full Code Here

TOP

Related Classes of net.cis.common.model.shipdevice.EngineDevice

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.