Examples of GatewayDirection


Examples of org.eclipse.bpmn2.GatewayDirection

 
  protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
    ParallelGateway gateway = Bpmn2Factory.eINSTANCE.createParallelGateway();// ParallelGateway();
    String direction = getPropertyValueAsString(PROPERTY_GATEWAT_DIRECTION, elementNode);
    if(StringUtil.isNotEmpty(direction)){
      GatewayDirection gatewayDirection = GatewayDirection.getByName(direction);
      gateway.setGatewayDirection(gatewayDirection);
    }
    return gateway;
  }
View Full Code Here

Examples of org.eclipse.bpmn2.GatewayDirection

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public void setGatewayDirection(GatewayDirection newGatewayDirection) {
        GatewayDirection oldGatewayDirection = gatewayDirection;
        gatewayDirection = newGatewayDirection == null ? GATEWAY_DIRECTION_EDEFAULT
                : newGatewayDirection;
        if (eNotificationRequired())
            eNotify(new ENotificationImpl(this, Notification.SET,
                    Bpmn2Package.GATEWAY__GATEWAY_DIRECTION, oldGatewayDirection, gatewayDirection));
View Full Code Here

Examples of org.eclipse.bpmn2.GatewayDirection

      public void updateGatewayDirection(final Object result) {
        TransactionalEditingDomain domain = bpmn2Editor.getEditingDomain();
        domain.getCommandStack().execute(new RecordingCommand(domain) {
          @Override
          protected void doExecute() {
            GatewayDirection direction = (GatewayDirection) result;
            be.eSet(reference, direction);
          }
        });
      }
     
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.