Package org.uengine.processpublisher.graph

Examples of org.uengine.processpublisher.graph.SwimLaneCoordinate


      Hashtable keyedContext = (Hashtable) options;
      GraphActivity graph;

      try {
        graph = (GraphActivity) adapter.convert(activity, keyedContext);
        SwimLaneCoordinate coordinate = new SwimLaneCoordinate();
        graph = coordinate.traverse(graph, null, options);
       
        if (coordinate.getRoleList().size() == 0) {
          String viewOption = (String) options.get(ViewerOptions.SWIMLANE);
          options.put(viewOption, viewOption);
        } else {
          SwimlaneViewer viewer = new SwimlaneViewer();
          sb.append(viewer.render(graph, coordinate, instance, options));
          sb.append("</div>");
         
          sb.append(getScriptSourceForBegin(drawLinerNamespace));
          sb = coordinate.appendCoordinateFunctionScript(instance , sb, options);
          sb.append(getScriptSourceForEnd(drawLinerNamespace));

          return sb;
        }
      } catch (Exception e) {
View Full Code Here


    ProcessDefinitionAdapter adapter = new ProcessDefinitionAdapter();
    Hashtable keyedContext=new Hashtable();
    keyedContext.put("main","scope");
    GraphActivity graph = (GraphActivity)adapter.convert(def, keyedContext);
   
    SwimLaneCoordinate coodinate = new SwimLaneCoordinate();
//    graph = coodinate.traverse(graph, null);
   
//    SwimlaneViewer viewer = new SwimlaneViewer();
  //`    StringBuffer sb = viewer.render(graph,coodinate,instance,null);
//   
View Full Code Here

TOP

Related Classes of org.uengine.processpublisher.graph.SwimLaneCoordinate

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.