Examples of ProcessingElementReference


Examples of eu.admire.dispel.references.ProcessingElementReference

    for (Variable var : variables) {

     
      if (var.getTypeReference() instanceof ProcessingElementReference) {
   
        ProcessingElementReference ref = (ProcessingElementReference)var.getTypeReference();
     
        if ( ref.getTarget() instanceof ProcessingElementDefinition ) {
         
          ProcessingElementDefinition  def  =  (ProcessingElementDefinition)ref.getTarget();

          ProcessingElementDefinition newDef = (ProcessingElementDefinition) EcoreUtil
              .copy(def);
         
          newDef.setName(var.getName());
View Full Code Here

Examples of eu.admire.dispel.references.ProcessingElementReference

    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.emptyList();
    }
    ProcessingElementReference modelElement = (ProcessingElementReference) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();

    //TODO iFo     
    ProcessingElementDefinition pe = (ProcessingElementDefinition) modelElement
        .getTarget();

    int visualID = DispelVisualIDRegistry.getNodeVisualID(view, pe);
    if (visualID == ProcessingElementDefinitionEditPart.VISUAL_ID) {
      result.add(new DispelNodeDescriptor(pe, visualID));
View Full Code Here

Examples of eu.admire.dispel.references.ProcessingElementReference

    }
    View containerView = (View) view.eContainer();
    if (!containerView.isSetElement()) {
      return Collections.emptyList();
    }
    ProcessingElementReference modelElement = (ProcessingElementReference) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();

    //TODO iFo     
    ProcessingElementDefinition pe = (ProcessingElementDefinition) modelElement
        .getTarget();

    int visualID = DispelVisualIDRegistry.getNodeVisualID(view, pe);
    if (visualID == ProcessingElementDefinitionEditPart.VISUAL_ID) {
      result.add(new DispelNodeDescriptor(pe, visualID));
View Full Code Here

Examples of eu.admire.dispel.references.ProcessingElementReference

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementReference newElement = ReferencesFactory.eINSTANCE
        .createProcessingElementReference();

    DispelFunction owner = (DispelFunction) getElementToEdit();
    owner.setSignature(newElement);

View Full Code Here

Examples of eu.admire.dispel.references.ProcessingElementReference

  /**
   * @generated
   */
  protected CommandResult doExecuteWithResult(IProgressMonitor monitor,
      IAdaptable info) throws ExecutionException {
    ProcessingElementReference newElement = ReferencesFactory.eINSTANCE
        .createProcessingElementReference();

    DispelFunction owner = (DispelFunction) getElementToEdit();
    owner.setSignature(newElement);

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.