Package org.openbp.core.model.item.activity

Examples of org.openbp.core.model.item.activity.ActivitySocketImpl


    ProcessUtil.setupProcessStandardConfiguration(process);
  }

  private static void setupActionStandardConfiguration(ActivityItem item)
  {
    ActivitySocket socket = new ActivitySocketImpl();
    socket.setName(CoreConstants.SOCKET_IN);
    socket.setEntrySocket(true);
    socket.setDefaultSocket(true);
    item.addSocket(socket);

    socket = new ActivitySocketImpl();
    socket.setName(CoreConstants.SOCKET_OUT);
    socket.setEntrySocket(false);
    socket.setDefaultSocket(true);
    item.addSocket(socket);
  }
View Full Code Here


    boolean update = false;

    ActivitySocket socket = item.getSocketByName(socketName);
    if (socket == null)
    {
      socket = new ActivitySocketImpl();
      socket.setName(socketName);
      item.addSocket(socket);
      update = true;
    }
View Full Code Here

    ai.clearSockets();
    for (Iterator it = getSockets(); it.hasNext();)
    {
      NodeSocket nodeSocket = (NodeSocket) it.next();

      ActivitySocket activitySocket = new ActivitySocketImpl();
      nodeSocket.copyToActivitySocket(activitySocket, syncFlags);
      ai.addSocket(activitySocket);
    }

    ai.setGeometry(getGeometry());
View Full Code Here

    ai.clearSockets();
    for (Iterator it = getSockets(); it.hasNext();)
    {
      NodeSocket nodeSocket = (NodeSocket) it.next();

      ActivitySocket activitySocket = new ActivitySocketImpl();
      nodeSocket.copyToActivitySocket(activitySocket, syncFlags);
      ai.addSocket(activitySocket);
    }

    ai.setGeometry(getGeometry());
View Full Code Here

TOP

Related Classes of org.openbp.core.model.item.activity.ActivitySocketImpl

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.