Examples of SvgIntermediateTimerEventTo


Examples of com.founder.fix.fixflow.core.impl.flowgraphics.svg.to.SvgIntermediateTimerEventTo

      BoundaryEvent boundaryEvent=(BoundaryEvent)getBaseElement(bpmnShape.getBpmnElement());
     
      for (EventDefinition eventDefinition : boundaryEvent.getEventDefinitions()) {
        if(eventDefinition instanceof TimerEventDefinition){
          if(boundaryEvent.isCancelActivity()){
            return CommonNodeToSVG(bpmnShape, new SvgIntermediateTimerEventTo());
          }
          else{
            return CommonNodeToSVG(bpmnShape, new SvgIntermediateTimeEventCancelTo());
          }
         
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.flowgraphics.svg.to.SvgIntermediateTimerEventTo

    if (getBaseElement(bpmnShape.getBpmnElement()) instanceof IntermediateCatchEvent) {
      IntermediateCatchEvent intermediateCatchEvent=(IntermediateCatchEvent)getBaseElement(bpmnShape.getBpmnElement());
     
      for (EventDefinition eventDefinition : intermediateCatchEvent.getEventDefinitions()) {
        if(eventDefinition instanceof TimerEventDefinition){
          return CommonNodeToSVG(bpmnShape, new SvgIntermediateTimerEventTo());
        }
        if(eventDefinition instanceof ErrorEventDefinition){
          return CommonNodeToSVG(bpmnShape, new SvgIntermediateErrorEventTo());
        }
      }
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.flowgraphics.svg.to.SvgIntermediateTimerEventTo

  private static String inherit ="{inherit}";
 
  public String createComponent(SvgBaseTo svgTo) {
    String result = null;
    try {
      SvgIntermediateTimerEventTo stevent = (SvgIntermediateTimerEventTo)svgTo;
      InputStream in = SvgBench.class.getResourceAsStream(comPath);
      Document doc = XmlUtil.read(in);
      String str = doc.getRootElement().asXML();
      str = FlowSvgUtil.replaceAll(str, local_x, StringUtil.getString(stevent.getX()));
      str = FlowSvgUtil.replaceAll(str, local_y, StringUtil.getString(stevent.getY()));
      str = FlowSvgUtil.replaceAll(str, id, stevent.getId());
      str = FlowSvgUtil.replaceAll(str, text, stevent.getLabel());
      str = FlowSvgUtil.replaceAll(str, inherit, stevent.getInherit());
      result = str;
    } catch (DocumentException e) {
      throw new FixFlowException("",e);
    }
    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.