Examples of addInputPort()


Examples of eu.scape_project.planning.services.taverna.generator.model.processor.NestedWorkflow.addInputPort()

                if (inputSource == InputSource.SOURCE_OBJECT && workflowDescription.handlesMimetype(sourceMimetype)) {
                    cc.addInputPort(new InputPort(p.getName(), 0));
                    workflow.addDatalink(new Datalink(workflow, SOURCE_PORT_NAME, cc, p.getName()));
                } else if (inputSource == InputSource.TARGET_OBJECT
                    && workflowDescription.handlesMimetype(targetMimetype)) {
                    cc.addInputPort(new InputPort(p.getName(), 0));
                    workflow.addDatalink(new Datalink(migration, migrationTargetPortName, cc, p.getName()));
                }
            } else if (ComponentConstants.VALUE_PARAMETER.equals(p.getValue())) {
                cc.addInputPort(new InputPort(p.getName(), 0));
                TextConstant c = new TextConstant(p.getName(), parameters.get(p.getName()));
View Full Code Here

Examples of eu.scape_project.planning.services.taverna.generator.model.processor.NestedWorkflow.addInputPort()

                    && workflowDescription.handlesMimetype(targetMimetype)) {
                    cc.addInputPort(new InputPort(p.getName(), 0));
                    workflow.addDatalink(new Datalink(migration, migrationTargetPortName, cc, p.getName()));
                }
            } else if (ComponentConstants.VALUE_PARAMETER.equals(p.getValue())) {
                cc.addInputPort(new InputPort(p.getName(), 0));
                TextConstant c = new TextConstant(p.getName(), parameters.get(p.getName()));
                workflow.addProcessor(c);
                workflow.addDatalink(new Datalink(c, "value", cc, p.getName()));
            }
        }
View Full Code Here

Examples of net.sf.graphiti.ui.figure.VertexFigure.addInputPort()

    figure.resetPorts();

    for (Edge edge : parent.incomingEdgesOf(vertex)) {
      String port = (String) edge
          .getValue(ObjectType.PARAMETER_TARGET_PORT);
      figure.addInputPort(port);
    }

    for (Edge edge : parent.outgoingEdgesOf(vertex)) {
      String port = (String) edge
          .getValue(ObjectType.PARAMETER_SOURCE_PORT);
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.