Examples of SvgInclusiveGatewayTo


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

    }
    if (getBaseElement(bpmnShape.getBpmnElement()) instanceof ExclusiveGateway) {
      return CommonNodeToSVG(bpmnShape, new SvgExclusiveGatewayTo());
    }
    if (getBaseElement(bpmnShape.getBpmnElement()) instanceof InclusiveGateway) {
      return CommonNodeToSVG(bpmnShape, new SvgInclusiveGatewayTo());
    }

    return "";
  }
View Full Code Here

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

  private static String comPath = "/svgcomponent/inclusiveGateway.xml";
 
  public String createComponent(SvgBaseTo svgTo) {
    String result = null;
    try {
      SvgInclusiveGatewayTo iGateTo = (SvgInclusiveGatewayTo)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(iGateTo.getX()+2));
      str = FlowSvgUtil.replaceAll(str, local_y, StringUtil.getString(iGateTo.getY()+2));
      str = FlowSvgUtil.replaceAll(str, id, iGateTo.getId());
      str = FlowSvgUtil.replaceAll(str, text, iGateTo.getLabel());
      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.