Examples of VisualNode


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

   */
  public void executeModelObject(ModelObject mo, EngineExecutor ee)
  {
    TokenContext context = ee.getTokenContext();
    NodeSocket entrySocket = context.getCurrentSocket();
    VisualNode node = (VisualNode) entrySocket.getNode();

    // A visual node might be a persisting node, so make the engine persist the process state.
    if (node.isWaitStateNode())
    {
      context.setLifecycleRequest(LifecycleRequest.SUSPEND_IMMEDIATE);
    }

    // We do not alter the current node - this needs to be done by the visual implementation
View Full Code Here

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

   *
   * @return The new {@link VisualNode}
   */
  public Node toNode(ProcessItem process, int syncFlags)
  {
    VisualNode result = new VisualNodeImpl();

    result.setProcess(process);
    result.copyFromItem(this, syncFlags);

    return result;
  }
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.