Package org.openbp.core.model.item.process

Examples of org.openbp.core.model.item.process.MergeNodeImpl


   *
   * @return The new node
   */
  public MergeNodeImpl createStandardMergeNode()
  {
    MergeNodeImpl node = new MergeNodeImpl();
    createStandardName(node);

    NodeSocket inSocket1 = createEntrySocket(CoreConstants.DEFAULT_INITIAL_NODE_NAME + "1", true);
    NodeSocket inSocket2 = createEntrySocket(CoreConstants.DEFAULT_INITIAL_NODE_NAME + "2", false);
    NodeSocket outSocket = createExitSocket(CoreConstants.DEFAULT_FINAL_NODE_NAME, true);

    inSocket1.setGeometry(ProcessUtil.createSocketGeometry("n"));
    inSocket2.setGeometry(ProcessUtil.createSocketGeometry("e"));
    outSocket.setGeometry(ProcessUtil.createSocketGeometry("s"));

    node.addSocket(inSocket1);
    node.addSocket(inSocket2);
    node.addSocket(outSocket);

    return node;
  }
View Full Code Here

TOP

Related Classes of org.openbp.core.model.item.process.MergeNodeImpl

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.