Package org.apache.airavata.workflow.model.graph.impl

Examples of org.apache.airavata.workflow.model.graph.impl.PortImpl


            }
        }
    }

    protected List<ControlEdge> getEdges() {
        PortImpl port = getControlInPort();
        List<ControlEdge> edges = (List<ControlEdge>) port.getEdges();
        return edges;
    }
View Full Code Here


        GraphSchema.PORT_TYPE_ATTRIBUTE);
    if (type == null) {
      // Old graphs don't have the namespace for the attribute.
      type = portElement.attributeValue(GraphSchema.PORT_TYPE_ATTRIBUTE);
    }
    PortImpl port;
    if (GraphSchema.PORT_TYPE_WS_DATA.equals(type)) {
      port = new WSPort(portElement);
    } else if (GraphSchema.PORT_TYPE_SYSTEM_DATA.equals(type)) {
      port = new SystemDataPort(portElement);
    } else if (GraphSchema.PORT_TYPE_CONTROL.equals(type)) {
View Full Code Here

            } else {
                // This should not happen.
                throw new WorkflowRuntimeException(originalFromNode.getClass().getName());
            }
            Port originalToPort = originalFromPort.getToPorts().get(0);
            PortImpl toPort = graph.getPort(originalToPort.getID());
            InputNode inputNode = (InputNode) toPort.getFromNode();
            inputNode.setDefaultValue(output);
        }

        return workflow;
    }
View Full Code Here

            }
        }
    }

    protected List<ControlEdge> getEdges() {
        PortImpl port = getControlInPort();
        List<ControlEdge> edges = (List<ControlEdge>) port.getEdges();
        return edges;
    }
View Full Code Here

     */
    @Override
    protected void setPortPositions() {
        super.setPortPositions();

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point off = new Point(0, this.headHeight / 2);
            NodeController.getGUI(controlInPort).setOffset(off);
        }
    }
View Full Code Here

          - PortGUI.DATA_PORT_SIZE / 2, this.headHeight
          + PORT_INITIAL_GAP + PORT_GAP * i);
      NodeController.getGUI(port).setOffset(offset);
    }

    PortImpl controlInPort = this.node.getControlInPort();
    if (controlInPort != null) {
      Point offset = new Point(0, this.headHeight / 2);
      NodeController.getGUI(controlInPort).setOffset(offset);
    }

View Full Code Here

            Port port = inputPorts.get(i);
            Point offset = new Point(PortGUI.DATA_PORT_SIZE / 2, this.headHeight + PORT_INITIAL_GAP + PORT_GAP * i);
            NodeController.getGUI(port).setOffset(offset);
        }

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point offset = new Point(0, this.headHeight / 2);
            NodeController.getGUI(controlInPort).setOffset(offset);
        }

View Full Code Here

     */
    @Override
    protected void setPortPositions() {
        super.setPortPositions();

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point off = new Point(0, this.headHeight / 2);
            NodeController.getGUI(controlInPort).setOffset(off);
        }
    }
View Full Code Here

            Port port = inputPorts.get(i);
            Point offset = new Point(PortGUI.DATA_PORT_SIZE / 2, this.headHeight + PORT_INITIAL_GAP + PORT_GAP * i);
            NodeController.getGUI(port).setOffset(offset);
        }

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point offset = new Point(0, this.headHeight / 2);
            NodeController.getGUI(controlInPort).setOffset(offset);
        }

View Full Code Here

          - PortGUI.DATA_PORT_SIZE / 2, this.headHeight
          + PORT_INITIAL_GAP + PORT_GAP * i);
      NodeController.getGUI(port).setOffset(offset);
    }

    PortImpl controlInPort = this.node.getControlInPort();
    if (controlInPort != null) {
      Point offset = new Point(0, this.headHeight / 2);
      NodeController.getGUI(controlInPort).setOffset(offset);
    }

View Full Code Here

TOP

Related Classes of org.apache.airavata.workflow.model.graph.impl.PortImpl

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.