Examples of render()


Examples of org.uengine.kernel.viewer.ActivityViewer.render()

    try{
      ProcessDefinition definition = getDefinition(processDefinition);
      ProcessInstance instance = new DefaultProcessInstance();
      instance.setProcessTransactionContext(getTransactionContext());
      ActivityViewer processDefinitionViewer = DefaultActivityViewer.createViewer(definition);
      return processDefinitionViewer.render(definition, instance, options).toString();
      //return ProcessDefinitionViewer.getInstance().render(getDefinition(processDefinition), null, options).toString();
    }catch(Exception e){
      e.printStackTrace();
      throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
    }
View Full Code Here

Examples of org.uengine.kernel.viewer.DefaultActivityViewer.render()

         
          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 {
View Full Code Here

Examples of org.uengine.kernel.viewer.ProcessDefinitionViewer.render()

   
    processMonitoringToolkit.setRepeatCount(definition, instance, options);
   
    ProcessDefinitionViewer viewer = new ProcessDefinitionViewer();
   
    String htmlSource = viewer.render(definition, instance, options.getFlowchartOptions()).toString();
    return htmlSource;
   
  }

  public static String createFlowChart(String xpdFilePath,MonitoringOption options) throws Exception{
View Full Code Here

Examples of org.uengine.kernel.viewer.gantt.GanttActivityViewer.render()

        e.printStackTrace();
        return sb;
      }
    } else if (options.containsKey("ganttchart")) {
      GanttActivityViewer Viewer = new GanttActivityViewer();
      sb.append(Viewer.render(activity, instance, options));
     
      sb.append("</div>");
      return sb;
    }
   
View Full Code Here

Examples of org.uengine.kernel.viewer.swimlane.SwimlaneViewer.render()

        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));
View Full Code Here

Examples of org.uiautomation.ios.inspector.views.View.render()

  protected void doGet(HttpServletRequest req, HttpServletResponse response) throws IOException {
    response.setCharacterEncoding("UTF-8");
    try {
      IDECommandController controller = getController(req.getPathInfo());
      View view = controller.handle(req);
      view.render(response);
    } catch (Exception e) {
      log.log(Level.SEVERE, "ide process error", e);
    }
  }
View Full Code Here

Examples of org.vosao.bliki.VosaoWikiModel.render()

  @Override
  public String renderWiki(String template, PageEntity page) {
    try {
      VosaoWikiModel wikiModel = new VosaoWikiModel(page);
      return wikiModel.render(template);
    } catch (ParseErrorException e) {
      return e.toString();
    } catch (MethodInvocationException e) {
      return e.toString();
    } catch (ResourceNotFoundException e) {
View Full Code Here

Examples of org.waveprotocol.wave.client.wavepanel.view.fake.FakeRenderer.render()

    wave = createWave();

    // Render it.
    FakeRenderer renderer = FakeRenderer.create(wave);
    ModelAsViewProvider views = renderer;
    rendering = renderer.render(wave);

    // Keep it live.
    ReplyManager replyHandler = new ReplyManager(views);
    timer = new FakeTimerService();
    LiveConversationViewRenderer.create(
View Full Code Here

Examples of org.xhtmlrenderer.simple.Graphics2DRenderer.render()

        BufferedImage buff = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR);
        Graphics2D g = (Graphics2D) buff.getGraphics();

        Dimension dim = new Dimension(width, height);
        renderer.layout(g, dim);
        renderer.render(g);

        StringBuffer sb = new StringBuffer();
        getDiff(sb, renderer.getPanel().getRootBox(), "");
        return sb.toString();
    }
View Full Code Here

Examples of org.xhtmlrenderer.swing.BoxRenderer.render()

    private void saveBoxModel(File page, File outputDir, int width) throws IOException {
        BoxRenderer renderer = new BoxRenderer(page, width);
        Box box;
        try {
            box = renderer.render();
        } catch (Exception e) {
            System.err.println("Could not render input file, skipping: " + page + " err: " + e.getMessage());
            failedCount++;
            return;
        }
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.