Package org.jboss.bpm.console.client.model

Examples of org.jboss.bpm.console.client.model.ActiveNodeInfo


      for (NodeInstanceLog nodeInstance: nodeInstances.values()) {
        boolean found = false;
        DiagramInfo diagramInfo = getDiagramInfo(processInstance.getProcessId());
        for (DiagramNodeInfo nodeInfo: diagramInfo.getNodeList()) {
          if (nodeInfo.getName().equals("id=" + nodeInstance.getNodeId())) {
            result.add(new ActiveNodeInfo(diagramInfo.getWidth(), diagramInfo.getHeight(), nodeInfo));
            found = true;
            break;
          }
        }
        if (!found) {
View Full Code Here


      for (NodeInstanceLog nodeInstance: nodeInstances.values()) {
        boolean found = false;
        DiagramInfo diagramInfo = getDiagramInfo(processInstance.getProcessId());
        for (DiagramNodeInfo nodeInfo: diagramInfo.getNodeList()) {
          if (nodeInfo.getName().equals("id=" + nodeInstance.getNodeId())) {
            result.add(new ActiveNodeInfo(diagramInfo.getWidth(), diagramInfo.getHeight(), nodeInfo));
            found = true;
            break;
          }
        }
        if (!found) {
View Full Code Here

      ActivityCoordinates coords = repoService.getActivityCoordinates(
          processInstance.getProcessDefinitionId(), currentActivity
      );


      results.add(new ActiveNodeInfo(
          coords.getWidth(), coords.getHeight(),
          new DiagramNodeInfo(
              currentActivity,
              coords.getX(), coords.getY(),
              coords.getWidth(), coords.getHeight()
View Full Code Here

        int width = JSONWalk.on(activeNode).next("width").asInt();
        int height = JSONWalk.on(activeNode).next("height").asInt();
        String name = JSONWalk.on(activeNode).next("name").asString();
           
        activeNodeInfos.add(
            new ActiveNodeInfo(
                -1, -1,
                new DiagramNodeInfo(name, x, y, width, height)
            )
          );
        wrapper = walk.next("activeNode");
View Full Code Here

  {

    GraphViewerPlugin plugin = getProcessGraphViewPlugin();
    if(plugin !=null)
    {
      ActiveNodeInfo info = plugin.getActiveNodeInfo(id);
      return createJsonResponse(info);
    }

    throw new RuntimeException(
        GraphViewerPlugin.class.getName()+ " not available."
View Full Code Here

TOP

Related Classes of org.jboss.bpm.console.client.model.ActiveNodeInfo

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.