Package org.uengine.kernel.viewer

Examples of org.uengine.kernel.viewer.DefaultActivityViewer


        //���
        String colspans="";
        sb.append("<tr>");
        for (int k = 0; k < graphXYListTemp.size(); k++) {
          DefaultActivityViewer sav = new DefaultActivityViewer();
          GraphActivity graphAct = (GraphActivity)graphXYListTemp.get(k);
          Activity act = graphAct.getReferenceActivity();
         
          if(cols != graphXYListTemp.size())  colspans="colspan ="+cols;
          sb.append("<td width=100 height="+distanceY+" align=center "+colspans+">");
         
          if(graphAct.getName()==null) {
            sb.append("<div id='sw_act_" + act.getTracingTag() + "'>"+ sav.render(act,null, (act instanceof ComplexActivity ? noDecoratedOption : options))+ "</div>");
          } else if(graphAct.isStartGraphActivity()) {
            sb.append("<div id='sw_act_start'><img src=\"../processmanager/images/start.gif\"></div>");
          } else if(graphAct.isEndGraphActivity()) {
            sb.append("<div id='sw_act_end'><img src=\"../processmanager/images/end.gif\"></div>");
          } else {
            sb.append("<div id='sw_act_" + act.getTracingTag() + "'>"+ sav.render(act,null, (act instanceof ComplexActivity ? noDecoratedOption : options))+ "</div>");
          }
          sb.append("</td>");
        }
        sb.append("</tr>");
        preY=sp.pointY;
View Full Code Here


   

    if (act instanceof SubProcessActivity) {
      sav = DefaultActivityViewer.createViewer(act);
    } else {
      sav = new DefaultActivityViewer();
    }
   
    sb.append("<table id='" + divId + "' cellspacing='0' cellpadding='0'><tr>");
    if (isVirtical) {
      sb.append("<td align='center'>");
View Full Code Here

TOP

Related Classes of org.uengine.kernel.viewer.DefaultActivityViewer

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.