Package eu.admire.dispel.core

Examples of eu.admire.dispel.core.ProcessingElementMethodDefinition


  /**
   * @generated
   */
  public static List<DispelLinkDescriptor> getProcessingElementMethodDefinition_3053OutgoingLinks(
      View view) {
    ProcessingElementMethodDefinition modelElement = (ProcessingElementMethodDefinition) view
        .getElement();
    LinkedList<DispelLinkDescriptor> result = new LinkedList<DispelLinkDescriptor>();
    result.addAll(getContainedTypeModelFacetLinks_MethodCall_4002(modelElement));
    return result;
  }
View Full Code Here


        continue;
      }
      if (false == link.eContainer() instanceof ProcessingElementMethodDefinition) {
        continue;
      }
      ProcessingElementMethodDefinition container = (ProcessingElementMethodDefinition) link
          .eContainer();
      result.add(new DispelLinkDescriptor(container, target, link,
          DispelElementTypes.MethodCall_4002,
          MethodCall2EditPart.VISUAL_ID));
View Full Code Here

  /**
   * @generated
   */
  public boolean canExecute() {
    ProcessingElementMethodDefinition container = (ProcessingElementMethodDefinition) getElementToEdit();
    if (container.getMethodCall() != null) {
      return false;
    }
    return true;

  }
View Full Code Here

   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    MethodCall newElement = ReferencesFactory.eINSTANCE.createMethodCall();

    ProcessingElementMethodDefinition owner = (ProcessingElementMethodDefinition) getElementToEdit();
    owner.setMethodCall(newElement);

    doConfigure(newElement, monitor, info);

    ((CreateElementRequest) getRequest()).setNewElement(newElement);
    return CommandResult.newOKCommandResult(newElement);
View Full Code Here

      return false;
    }
    if (!(getLink().eContainer() instanceof ProcessingElementMethodDefinition)) {
      return false;
    }
    ProcessingElementMethodDefinition source = (ProcessingElementMethodDefinition) getLink()
        .eContainer();
    return DispelBaseItemSemanticEditPolicy.getLinkConstraints()
        .canExistMethodCall_4002(getLink(), source, getNewTarget());
  }
View Full Code Here

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementMethodDefinition newElement = CoreFactory.eINSTANCE
        .createProcessingElementMethodDefinition();

    Condition owner = (Condition) getElementToEdit();
    owner.setElseStatement(newElement);

View Full Code Here

TOP

Related Classes of eu.admire.dispel.core.ProcessingElementMethodDefinition

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.