Package eu.admire.dispel.parameters

Examples of eu.admire.dispel.parameters.ProcessingElementParameter


   
    assertNotNull(literalShape);
    assertNotNull(linked.eContainer());
    assertTrue(literalShape.getAnchors().size() > 0);
   
    ProcessingElementParameter param = null;
    Shape paramShape = null;
    for (Shape s :peShape.getChildren()) {
      linked = ls.getBusinessObjectForLinkedPictogramElement(s);
      if (linked instanceof ProcessingElementParameter) {
        ProcessingElementParameter paramTmp =
            (ProcessingElementParameter) linked;
        if (paramTmp.getName().equals("input")) {
          param = paramTmp;
          paramShape = s;
          break;
        }
      }
View Full Code Here


    ProcessingElementInstance modelElement = (ProcessingElementInstance) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == InputEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    ProcessingElementInstance modelElement = (ProcessingElementInstance) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == OutputEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    ProcessingElementAnonymousConstructor modelElement = (ProcessingElementAnonymousConstructor) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == InputConnectionEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    ProcessingElementAnonymousConstructor modelElement = (ProcessingElementAnonymousConstructor) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == OutputConnectionEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setTarget(ProcessingElementParameter newTarget) {
    ProcessingElementParameter oldTarget = target;
    target = newTarget;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, InstantiationsPackage.NEW_PROCESSING_ELEMENT_PARAMETER__TARGET, oldTarget, target));
  }
View Full Code Here

        IdentifierReference ref2 = (IdentifierReference) ref1.getNext();

        if (ref2.getTarget() instanceof ProcessingElementParameter) {

          ProcessingElementParameter par = (ProcessingElementParameter) ref2
              .getTarget();

          String parameterName = par.getName();

          if (var.getValue() instanceof ProcessingElementInstance) {

            ProcessingElementInstance peiIn = (ProcessingElementInstance) var
                .getValue();
View Full Code Here

    ProcessingElementInstance modelElement = (ProcessingElementInstance) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == InputEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    ProcessingElementInstance modelElement = (ProcessingElementInstance) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == OutputEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

    ProcessingElementAnonymousConstructor modelElement = (ProcessingElementAnonymousConstructor) containerView
        .getElement();
    LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
    for (Iterator<?> it = modelElement.getProcessingElementParameters()
        .iterator(); it.hasNext();) {
      ProcessingElementParameter childElement = (ProcessingElementParameter) it
          .next();
      int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
          childElement);
      if (visualID == InputConnectionEditPart.VISUAL_ID) {
        result.add(new DispelNodeDescriptor(childElement, visualID));
View Full Code Here

TOP

Related Classes of eu.admire.dispel.parameters.ProcessingElementParameter

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.