Package edu.indiana.extreme.xbaya.component.system

Examples of edu.indiana.extreme.xbaya.component.system.OutputComponent


                .getComponent(subWorkflowID);
        Node subWorkflow = workflow.addNode(subWorkflowComponent);
        subWorkflow.setPosition(new Point(350, 150));

        // Output
        OutputComponent outputComponent = new OutputComponent();
        OutputNode outParamNode = (OutputNode) workflow
                .addNode(outputComponent);
        outParamNode.setPosition(new Point(800, 150));

        // Connect ports
View Full Code Here


        List<Port> toNodes = dataPort.getToPorts();
        for (Port toPort : toNodes) {
          Node newToNode = nodeMap.get(toPort.getNode());
          if (null == newToNode) {
            // outputnode
            Node outputNode = new OutputComponent()
                .createNode(this);
            addEdge(newPort, outputNode.getInputPort(0));
          } else {

            addEdge(newPort, newToNode.getInputPort(toPort.getID()));
View Full Code Here

      count = 0;
      List<DataPort> outputPorts = nodeImpl.getOutputPorts();
      for (DataPort dataPort : outputPorts) {
        if (dataPort.getToNodes().size() == 0) {
          Node outputNode = subWorkflow
              .addNode(new OutputComponent());
          outputNode.setPosition(new Point(
              nodeImpl.getPosition().x + 200, nodeImpl
                  .getPosition().y + count * 50));
          subWorkflow.getGraph().addEdge(dataPort, outputNode.getInputPort(0));
          ++count;
View Full Code Here

    @Override
    public Component getComponent() {
        Component component = super.getComponent();
        if (component == null) {
            // The component is null when read from the graph XML.
            component = new OutputComponent();
        }
        return component;
    }
View Full Code Here

    }

    @Override
    protected void parseComponent(XmlElement componentElement) {
        // No need to parse the XML.
        setComponent(new OutputComponent());
    }
View Full Code Here

    private void modifyWorkflow(Workflow workflow) throws ComponentException,
            ComponentRegistryException, GraphException {
        WSGraph graph = workflow.getGraph();

        OutputComponent outputComponent = new OutputComponent();
        LocalComponentRegistry registry = new LocalComponentRegistry(
                XBayaPathConstants.WSDL_DIRECTORY);
        Component adderComponent = registry.getComponent(Adder.WSDL_PATH);
        Component multiplierComponent = registry
                .getComponent(Multiplier.WSDL_PATH);
View Full Code Here

        Node wrfNode = workflow.addNode(wrfComp);
        wrfNode.setPosition(new Point(781, 14));

        // Parameters
        Component inputComponent = new InputComponent();
        Component outputComponent = new OutputComponent();

        // Input parameter node
        InputNode confInput = (InputNode) workflow.addNode(inputComponent);
        confInput.setPosition(new Point(0, 100));
View Full Code Here

        this.componentRegistry = new WebComponentRegistry(
                XBayaConstants.DEFAULT_WEB_REGISTRY.toURL());
        this.componentRegistry.getComponentTree(); // To read components
        this.inputComponent = new InputComponent();
        this.outputComponent = new OutputComponent();
    }
View Full Code Here

      Node inputNode = canvas.addNode(inputComponent, new Point(
          5 + 5 * count, 5 + count * 50));
      graph.addEdge(inputNode.getOutputPort(0), dataPort);
      ++count;
    }
    OutputComponent outputComponent = new OutputComponent();
    List<DataPort> outputPorts = workflowNode.getOutputPorts();

    count = 0;
    for (DataPort dataPort : outputPorts) {
      Node outNode = canvas.addNode(outputComponent, new Point(
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.xbaya.component.system.OutputComponent

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.