Package eu.admire.dispel.references

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


    }
    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

    }
    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

  /**
   * @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

  /**
   * @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

Related Classes of eu.admire.dispel.references.ProcessingElementReference

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.