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

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


              socketHolder = new ActivityNodeImpl();
              socketHolder.setName("NodeDummy");
              process.addNode(socketHolder);
            }

            paramHolder = new NodeSocketImpl();
            paramHolder.setName("SocketDummy");
            socketHolder.addSocket(paramHolder);
          }

          // Clone the socket and add it to the dummy node
View Full Code Here


  /**
   * @see org.openbp.cockpit.plugins.toolbox.ToolBoxPlugin#addStandardToolBoxItems()
   */
  protected void addStandardToolBoxItems()
  {
    NodeSocket socket = new NodeSocketImpl();

    // Add entry socket
    socket = new NodeSocketImpl();
    socket.setEntrySocket(true);
    addToolBoxItem(socket, "toolboxitem.socketentry.tooltip");

    // Add exit socket
    socket = new NodeSocketImpl();
    socket.setEntrySocket(false);
    addToolBoxItem(socket, "toolboxitem.socketexit.tooltip");
  }
View Full Code Here

   * @param isDefault true for a default socket
   * @return The new socket
   */
  public NodeSocket createEntrySocket(String name, boolean isDefault)
  {
    NodeSocket socket = new NodeSocketImpl();
    socket.setName(name);

    socket.setEntrySocket(true);
    socket.setDefaultSocket(isDefault);
    return socket;
  }
View Full Code Here

   * @param isDefault true for a default socket
   * @return The new socket
   */
  public NodeSocket createExitSocket(String name, boolean isDefault)
  {
    NodeSocket socket = new NodeSocketImpl();
    socket.setName(name);

    socket.setEntrySocket(false);
    socket.setDefaultSocket(isDefault);
    return socket;
  }
View Full Code Here

    addToolBoxItem(new TextElementImpl(), "toolboxitem.textelement.tooltip");

    NodeSocket socket;

    // Add entry socket
    socket = new NodeSocketImpl();
    socket.setEntrySocket(true);
    addToolBoxItem(socket, "toolboxitem.socketentry.tooltip");

    // Add exit socket
    socket = new NodeSocketImpl();
    socket.setEntrySocket(false);
    addToolBoxItem(socket, "toolboxitem.socketexit.tooltip");
  }
View Full Code Here

TOP

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

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.