Package org.activiti.bpmn.model

Examples of org.activiti.bpmn.model.InclusiveGateway


    return ELEMENT_GATEWAY_INCLUSIVE;
  }
 
  @Override
  protected BaseElement convertXMLToElement(XMLStreamReader xtr, BpmnModel model) throws Exception {
    InclusiveGateway gateway = new InclusiveGateway();
    BpmnXMLUtil.addXMLLocation(gateway, xtr);
    parseChildElements(getXMLElementName(), gateway, model, xtr);
    return gateway;
  }
View Full Code Here


 
  protected void convertElementToJson(ObjectNode propertiesNode, FlowElement flowElement) {
  }
 
  protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
    InclusiveGateway gateway = new InclusiveGateway();
    return gateway;
  }
View Full Code Here

    // set name and description of the creation feature
    super(fp, "InclusiveGateway", "Add inclusive gateway");
  }

  public Object[] create(ICreateContext context) {
    InclusiveGateway inclusiveGateway = new InclusiveGateway();
    addObjectToContainer(context, inclusiveGateway, "Inclusive Gateway");

    return new Object[] { inclusiveGateway };
  }
View Full Code Here

    super(fp);
  }

  @Override
  public PictogramElement add(IAddContext context) {
    final InclusiveGateway addedGateway = (InclusiveGateway) context.getNewObject();
    final ContainerShape parent = context.getTargetContainer();
   
    // CONTAINER SHAPE WITH CIRCLE
    final IPeCreateService peCreateService = Graphiti.getPeCreateService();
    final ContainerShape containerShape = peCreateService.createContainerShape(parent, true);
View Full Code Here

    return ELEMENT_GATEWAY_INCLUSIVE;
  }
 
  @Override
  protected BaseElement convertXMLToElement(XMLStreamReader xtr) throws Exception {
    InclusiveGateway gateway = new InclusiveGateway();
    return gateway;
  }
View Full Code Here

   * @param original
   *          the object to clone
   * @return a clone of the original object
   */
  private static final InclusiveGateway clone(final InclusiveGateway original, final Diagram diagram) {
    InclusiveGateway result = new InclusiveGateway();
    result.setId(ActivitiUiUtil.getNextId(result.getClass(), CreateInclusiveGatewayFeature.FEATURE_ID_KEY, diagram));
    return result;
  }
View Full Code Here

 
  protected void convertElementToJson(ObjectNode propertiesNode, FlowElement flowElement) {
  }
 
  protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
    InclusiveGateway gateway = new InclusiveGateway();
    return gateway;
  }
View Full Code Here

TOP

Related Classes of org.activiti.bpmn.model.InclusiveGateway

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.