当前位置: 首页>>代码示例>>Java>>正文


Java BusinessRuleTask类代码示例

本文整理汇总了Java中org.eclipse.bpmn2.BusinessRuleTask的典型用法代码示例。如果您正苦于以下问题:Java BusinessRuleTask类的具体用法?Java BusinessRuleTask怎么用?Java BusinessRuleTask使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


BusinessRuleTask类属于org.eclipse.bpmn2包,在下文中一共展示了BusinessRuleTask类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: create

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
@Override
public Object[] create(ICreateContext context) {
	BusinessRuleTask newBusinessRuleTask = Bpmn2Factory.eINSTANCE.createBusinessRuleTask();
	newBusinessRuleTask.setId(getNextId());
	setName("Business rule task", newBusinessRuleTask, context);
	
	Object parentObject = getBusinessObjectForPictogramElement(context.getTargetContainer());
   if (parentObject instanceof SubProcess) {
     ((SubProcess) parentObject).getFlowElements().add(newBusinessRuleTask);
   } else {
     getDiagram().eResource().getContents().add(newBusinessRuleTask);
   }
	
   addGraphicalContent(newBusinessRuleTask, context);
   
	return new Object[] { newBusinessRuleTask };
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:18,代码来源:CreateBusinessRuleTaskFeature.java

示例2: notifyChanged

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(BusinessRuleTask.class)) {
	case Bpmn2Package.BUSINESS_RULE_TASK__IMPLEMENTATION:
	case Bpmn2Package.BUSINESS_RULE_TASK__RULE_NAMES:
	case Bpmn2Package.BUSINESS_RULE_TASK__INPUT_VARIABLES:
	case Bpmn2Package.BUSINESS_RULE_TASK__RESULT_VARIABLE_NAME:
	case Bpmn2Package.BUSINESS_RULE_TASK__EXCLUDE:
		fireNotifyChanged(new ViewerNotification(notification,
				notification.getNotifier(), false, true));
		return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:24,代码来源:BusinessRuleTaskItemProvider.java

示例3: create

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * Creates the HTML properties string for a given FlowElement.
 *
 * @param flowElement
 *            The FlowElement for which the properties should be written to
 *            a string.
 * @return The properties of the given FlowElement represented as a String.
 */
public static String create(FlowElement flowElement) {
    if (flowElement instanceof SequenceFlow) {
        return createSequenceFlowString((SequenceFlow) flowElement);
    } else if (flowElement instanceof StartEvent) {
        return createStartEventString((StartEvent) flowElement);
    } else if (flowElement instanceof EndEvent) {
        return createEndEventString((EndEvent) flowElement);
    } else if (flowElement instanceof UserTask) {
        return createUserTaskString((UserTask) flowElement);
    } else if (flowElement instanceof ScriptTask) {
        return createScriptTaskString((ScriptTask) flowElement);
    } else if (flowElement instanceof ServiceTask) {
        return createServiceTaskString((ServiceTask) flowElement);
    } else if (flowElement instanceof MailTask) {
        return createMailTaskString((MailTask) flowElement);
    } else if (flowElement instanceof ExclusiveGateway) {
        return createExclusiveGatewayString((ExclusiveGateway) flowElement);
    } else if (flowElement instanceof BusinessRuleTask) {
        return createBusinessRuleTaskString((BusinessRuleTask) flowElement);
    } else if (flowElement instanceof CallActivity) {
        return createCallActivityString((CallActivity) flowElement);
    } else if (flowElement instanceof BoundaryEvent) {
        return createBoundaryEventString((BoundaryEvent) flowElement);
    } else {
        return "&nbsp;";
    }
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:36,代码来源:PropertiesStringBuilder.java

示例4: accept

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
@Override
protected boolean accept(PictogramElement pe) {
	EObject bo = Graphiti.getLinkService().getBusinessObjectForLinkedPictogramElement(pe);
	if (bo instanceof BusinessRuleTask) {
		return true;
	}
	return false;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:9,代码来源:PropertyBusinessRuleTaskFilter.java

示例5: addTaskButtons

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
private void addTaskButtons(ContextButtonEntry otherElementButton, Task notTask, CustomContext customContext) {
	if(notTask == null || notTask instanceof ServiceTask == false) {
 	addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "servicetask"), customContext, 
   		"Change to service task", "Change to a service task", ActivitiImageProvider.IMG_SERVICETASK);
	}
	if(notTask == null || notTask instanceof ScriptTask == false) {
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "scripttask"), customContext, 
   		"Change to script task", "Change to a script task", ActivitiImageProvider.IMG_SCRIPTTASK);
	}
  if(notTask == null || notTask instanceof UserTask == false) {
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "usertask"), customContext, 
   		"Change to user task", "Change to a user task", ActivitiImageProvider.IMG_USERTASK);
  }
  if(notTask == null || notTask instanceof MailTask == false) {;
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "mailtask"), customContext, 
   		"Change to mail task", "Change to a mail task", ActivitiImageProvider.IMG_MAILTASK);
  }
  if(notTask == null || notTask instanceof BusinessRuleTask == false) {
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "businessruletask"), customContext, 
   		"Change to business rule task", "Change to a business rule task", ActivitiImageProvider.IMG_BUSINESSRULETASK);
  }
  if(notTask == null || notTask instanceof ManualTask == false) {
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "manualtask"), customContext, 
   		"Change to manual task", "Change to a manual task", ActivitiImageProvider.IMG_MANUALTASK);
  }
  if(notTask == null || notTask instanceof ReceiveTask == false) {
   addContextButton(otherElementButton, new ChangeElementTypeFeature(getFeatureProvider(), "receivetask"), customContext, 
   		"Change to receive task", "Change to a receive task", ActivitiImageProvider.IMG_RECEIVETASK);
  }
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:31,代码来源:ActivitiToolBehaviorProvider.java

示例6: getText

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * This returns the label text for the adapted class.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public String getText(Object object) {
	String label = ((BusinessRuleTask) object).getName();
	return label == null || label.length() == 0 ? getString("_UI_BusinessRuleTask_type")
			: getString("_UI_BusinessRuleTask_type") + " " + label;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:13,代码来源:BusinessRuleTaskItemProvider.java

示例7: basicSetBusinessRuleTask

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetBusinessRuleTask(
		BusinessRuleTask newBusinessRuleTask, NotificationChain msgs) {
	return ((FeatureMap.Internal) getMixed()).basicAdd(
			Bpmn2Package.Literals.DOCUMENT_ROOT__BUSINESS_RULE_TASK,
			newBusinessRuleTask, msgs);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:12,代码来源:DocumentRootImpl.java

示例8: convertJsonToElement

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
protected FlowElement convertJsonToElement(JsonNode elementNode, JsonNode modelNode, Map<String, JsonNode> shapeMap) {
  BusinessRuleTask task = Bpmn2Factory.eINSTANCE.createBusinessRuleTask();// BusinessRuleTask();
  /*task.setClassName(getPropertyValueAsString(PROPERTY_RULETASK_CLASS, elementNode));
  task.setInputVariables(getPropertyValueAsList(PROPERTY_RULETASK_VARIABLES_INPUT, elementNode));
  task.setResultVariableName(getPropertyValueAsString(PROPERTY_RULETASK_RESULT, elementNode));
  task.setRuleNames(getPropertyValueAsList(PROPERTY_RULETASK_RULES, elementNode));
  task.setExclude(getPropertyValueAsBoolean(PROPERTY_RULETASK_EXCLUDE, elementNode));*/
  return task;
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:10,代码来源:BusinessRuleTaskJsonConverter.java

示例9: setFriendlyIds

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
private void setFriendlyIds() {
  Map<String, Integer> idMap = new HashMap<String, Integer>();
  for (FlowElement flowElement : bpmnParser.bpmnList) {
  	if(StringUtils.isEmpty(flowElement.getId()) == false && 
  			flowElement.getId().matches("sid-\\w{4,12}-\\w{4,12}-\\w{4,12}-\\w{4,12}-\\w{4,12}") == false) {
  		
  		continue;
  	}
    if(flowElement instanceof StartEvent) {
      flowElement.setId(getNextId("startevent", idMap));
    } else if(flowElement instanceof EndEvent) {
      if(((EndEvent) flowElement).getEventDefinitions().size() > 0) {
        flowElement.setId(getNextId("errorendevent", idMap));
      } else {
        flowElement.setId(getNextId("endevent", idMap));
      }
    } else if(flowElement instanceof ExclusiveGateway) {
      flowElement.setId(getNextId("exclusivegateway", idMap));
    } else if(flowElement instanceof InclusiveGateway) {
      flowElement.setId(getNextId("inclusivegateway", idMap));
    } else if(flowElement instanceof ParallelGateway) {
      flowElement.setId(getNextId("parallelgateway", idMap));
    } else if(flowElement instanceof UserTask) {
      flowElement.setId(getNextId("usertask", idMap));
    } else if(flowElement instanceof ScriptTask) {
      flowElement.setId(getNextId("scripttask", idMap));
    } else if(flowElement instanceof ServiceTask) {
      flowElement.setId(getNextId("servicetask", idMap));
    } else if(flowElement instanceof ManualTask) {
      flowElement.setId(getNextId("manualtask", idMap));
    } else if(flowElement instanceof ReceiveTask) {
      flowElement.setId(getNextId("receivetask", idMap));
    } else if(flowElement instanceof BusinessRuleTask) {
      flowElement.setId(getNextId("businessruletask", idMap));
    } else if(flowElement instanceof MailTask) {
      flowElement.setId(getNextId("mailtask", idMap));
    } else if(flowElement instanceof BoundaryEvent) {
      if(((BoundaryEvent) flowElement).getEventDefinitions().size() > 0) {
        EventDefinition definition = ((BoundaryEvent) flowElement).getEventDefinitions().get(0);
        if(definition instanceof ErrorEventDefinition) {
          flowElement.setId(getNextId("boundaryerror", idMap));
        } else {
          flowElement.setId(getNextId("boundarytimer", idMap));
        }
      }
    } else if(flowElement instanceof CallActivity) {
      flowElement.setId(getNextId("callactivity", idMap));
    } else if(flowElement instanceof SubProcess) {
      flowElement.setId(getNextId("subprocess", idMap));
    }
  }
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:53,代码来源:BpmnFileReader.java

示例10: parseBusinessRuleTask

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
private BusinessRuleTask parseBusinessRuleTask(XMLStreamReader xtr) {
	BusinessRuleTask businessRuleTask = Bpmn2Factory.eINSTANCE
	    .createBusinessRuleTask();
	businessRuleTask.setName(xtr.getAttributeValue(null, "name"));
	businessRuleTask.setAsynchronous(parseAsync(xtr));
	if (xtr.getAttributeValue(null, "default") != null) {
		defaultFlowMap.put(businessRuleTask,
		    xtr.getAttributeValue(null, "default"));
	}
	if (xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE, "rules") != null) {
		String ruleNames = xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE,
		    "rules");
		if (ruleNames != null && ruleNames.length() > 0) {
			businessRuleTask.getRuleNames().clear();
			if (ruleNames.contains(",") == false) {
				businessRuleTask.getRuleNames().add(ruleNames);
			} else {
				String[] ruleNameList = ruleNames.split(",");
				for (String rule : ruleNameList) {
					businessRuleTask.getRuleNames().add(rule);
				}
			}
		}
	}
	if (xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE,
	    "inputVariableNames") != null) {
		String inputNames = xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE,
		    "inputVariableNames");
		if (inputNames != null && inputNames.length() > 0) {
			businessRuleTask.getInputVariables().clear();
			if (inputNames.contains(",") == false) {
				businessRuleTask.getInputVariables().add(inputNames);
			} else {
				String[] inputNamesList = inputNames.split(",");
				for (String input : inputNamesList) {
					businessRuleTask.getInputVariables().add(input);
				}
			}
		}
	}
	if (xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE, "exclude") != null) {
		businessRuleTask.setExclude(Boolean.valueOf(xtr.getAttributeValue(
		    ACTIVITI_EXTENSIONS_NAMESPACE, "exclude")));
	}
	if (xtr.getAttributeValue(ACTIVITI_EXTENSIONS_NAMESPACE,
	    "resultVariableName") != null) {
		businessRuleTask.setResultVariableName(xtr.getAttributeValue(
		    ACTIVITI_EXTENSIONS_NAMESPACE, "resultVariableName"));
	}

	boolean readyWithTask = false;
	try {
		while (readyWithTask == false && xtr.hasNext()) {
			xtr.next();
			if (xtr.isStartElement()
			    && "extensionElements".equalsIgnoreCase(xtr.getLocalName())) {
				businessRuleTask.getActivitiListeners().addAll(parseListeners(xtr));

			} else if (xtr.isStartElement()
			    && "multiInstanceLoopCharacteristics".equalsIgnoreCase(xtr
			        .getLocalName())) {
				MultiInstanceLoopCharacteristics multiInstanceDef = Bpmn2Factory.eINSTANCE
				    .createMultiInstanceLoopCharacteristics();
				businessRuleTask.setLoopCharacteristics(multiInstanceDef);
				parseMultiInstanceDef(multiInstanceDef, xtr);

			} else if (xtr.isEndElement()
			    && "businessRuleTask".equalsIgnoreCase(xtr.getLocalName())) {
				readyWithTask = true;
			}
		}
	} catch (Exception e) {
		e.printStackTrace();
	}

	return businessRuleTask;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:78,代码来源:BpmnParser.java

示例11: createBusinessRuleTaskString

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * Writes the rule names, input variables, excluded and result variable
 * properties of a BusinessRuleTask to a String.
 *
 * @param businessRuleTask
 *            The BusinessRuleTask for which the String should be generated.
 * @return The properties represented as a String.
 */
public static String createBusinessRuleTaskString(
    BusinessRuleTask businessRuleTask) {
    String res = "";
    boolean first = true;

    if (businessRuleTask.getRuleNames().size() > 0) {
        StringBuilder ruleNameBuilder = new StringBuilder();
        for (String ruleName : businessRuleTask.getRuleNames()) {
            if (ruleNameBuilder.length() > 0) {
                ruleNameBuilder.append(",");
            }
            ruleNameBuilder.append(ruleName);
        }
        res += "rules: " + ruleNameBuilder.toString();
        first = false;
    }

    if (businessRuleTask.getInputVariables().size() > 0) {
        StringBuilder inputBuilder = new StringBuilder();
        for (String input : businessRuleTask.getInputVariables()) {
            if (inputBuilder.length() > 0) {
                inputBuilder.append(",");
            }
            inputBuilder.append(input);
        }
        if (!first)
            res += "<br>";
        res += "input variables: " + inputBuilder.toString();
        if (first)
            first = false;
    }

    if (businessRuleTask.getRuleNames().size() > 0) {
        if (!first)
            res += "<br>";
        res += "excluded: " + businessRuleTask.isExclude();
        if (first)
            first = false;
    }

    if (businessRuleTask.getResultVariableName() != null
            && businessRuleTask.getResultVariableName().length() > 0) {
        if (!first)
            res += "<br>";
        res += "result variable: "
               + businessRuleTask.getResultVariableName();
    }

    return res;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:59,代码来源:PropertiesStringBuilder.java

示例12: refresh

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
@Override
public void refresh() {
  ruleNamesText.removeFocusListener(listener);
  excludedButton.removeFocusListener(listener);
  nonExcludedButton.removeFocusListener(listener);
  inputVariableNamesText.removeFocusListener(listener);
  resultVariableNameText.removeFocusListener(listener);
  PictogramElement pe = getSelectedPictogramElement();
  if (pe != null) {
    Object bo = Graphiti.getLinkService().getBusinessObjectForLinkedPictogramElement(pe);
    if (bo == null)
      return;

    BusinessRuleTask businessRuleTask = (BusinessRuleTask) bo;
    
    ruleNamesText.setText("");
    if(businessRuleTask.getRuleNames().size() > 0) {
      StringBuilder ruleNameBuilder = new StringBuilder();
      for (String ruleName: businessRuleTask.getRuleNames()) {
        if(ruleNameBuilder.length() > 0) {
          ruleNameBuilder.append(",");
        }
        ruleNameBuilder.append(ruleName);
      }
      ruleNamesText.setText(ruleNameBuilder.toString());
    }
    
    inputVariableNamesText.setText("");
    if(businessRuleTask.getInputVariables().size() > 0) {
      StringBuilder inputBuilder = new StringBuilder();
      for (String input: businessRuleTask.getInputVariables()) {
        if(inputBuilder.length() > 0) {
          inputBuilder.append(",");
        }
        inputBuilder.append(input);
      }
      inputVariableNamesText.setText(inputBuilder.toString());
    }
    
    excludedButton.setSelection(businessRuleTask.isExclude());
    nonExcludedButton.setSelection(!businessRuleTask.isExclude());
    
    resultVariableNameText.setText("");
    if(businessRuleTask.getResultVariableName() != null && businessRuleTask.getResultVariableName().length() > 0) {
      resultVariableNameText.setText(businessRuleTask.getResultVariableName());
    }
    
    ruleNamesText.addFocusListener(listener);
    excludedButton.addFocusListener(listener);
    nonExcludedButton.addFocusListener(listener);
    inputVariableNamesText.addFocusListener(listener);
    resultVariableNameText.addFocusListener(listener);
  }
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:55,代码来源:PropertyBusinessRuleTaskSection.java

示例13: getAddFeature

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
@Override
	public IAddFeature getAddFeature(IAddContext context) {
		// is object for add request a EClass?
		if (context.getNewObject() instanceof StartEvent) {
		  if(context.getNewObject() instanceof AlfrescoStartEvent) {
		    return new AddAlfrescoStartEventFeature(this);
		  } else {
		  	if(((StartEvent) context.getNewObject()).getEventDefinitions().size() > 0) {
		  		return new AddTimerStartEventFeature(this);
		  	} else {
		  		return new AddStartEventFeature(this);
		  	}
		  }
// <SecureBPMN>
		} else if (context.getNewObject() instanceof BindingOfDuty) {
				return new AddSecurityBodFeature(this);			
		} else if (context.getNewObject() instanceof SeparationOfDuty) {
				return new AddSecuritySodFeature(this);
// </SecureBPMN>			
		} else if (context.getNewObject() instanceof EndEvent) {
		  if(((EndEvent) context.getNewObject()).getEventDefinitions().size() > 0) {
		    return new AddErrorEndEventFeature(this);
		  } else {
		    return new AddEndEventFeature(this);
		  }
		} else if (context.getNewObject() instanceof SequenceFlow) {
			return new AddSequenceFlowFeature(this);
// <SecureBPMN>
		} else if (context.getNewObject() instanceof SecurityFlow) {
			return new AddSecurityFlowFeature(this);
// </SecureBPMN>
		} else if (context.getNewObject() instanceof UserTask) {
		  if(context.getNewObject() instanceof AlfrescoUserTask) {
		    return new AddAlfrescoUserTaskFeature(this);
		  } else {
		    return new AddUserTaskFeature(this);
		  }
		} else if (context.getNewObject() instanceof ScriptTask) {
			return new AddScriptTaskFeature(this);
		} else if (context.getNewObject() instanceof ServiceTask) {
			return new AddServiceTaskFeature(this);
		} else if (context.getNewObject() instanceof MailTask) {
			if(context.getNewObject() instanceof AlfrescoMailTask) {
				return new AddAlfrescoMailTaskFeature(this);
			} else {
				return new AddMailTaskFeature(this);
			}
		} else if (context.getNewObject() instanceof ManualTask) {
			return new AddManualTaskFeature(this);
		} else if (context.getNewObject() instanceof ReceiveTask) {
			return new AddReceiveTaskFeature(this);
		} else if (context.getNewObject() instanceof BusinessRuleTask) {
      return new AddBusinessRuleTaskFeature(this);
		} else if (context.getNewObject() instanceof ExclusiveGateway) {
			return new AddExclusiveGatewayFeature(this);
		} else if (context.getNewObject() instanceof InclusiveGateway) {
      return new AddInclusiveGatewayFeature(this);
    } else if (context.getNewObject() instanceof ParallelGateway) {
			return new AddParallelGatewayFeature(this);
		} else if (context.getNewObject() instanceof BoundaryEvent) {
		  if(((BoundaryEvent) context.getNewObject()).getEventDefinitions().size() > 0) {
		    EventDefinition definition = ((BoundaryEvent) context.getNewObject()).getEventDefinitions().get(0);
		    if(definition instanceof ErrorEventDefinition) {
		      return new AddBoundaryErrorFeature(this);
		    } else {
		      return new AddBoundaryTimerFeature(this);
		    }
		  }
		} else if (context.getNewObject() instanceof IntermediateCatchEvent) {
			return new AddTimerCatchingEventFeature(this);
		} else if (context.getNewObject() instanceof SubProcess) {
      return new AddEmbeddedSubProcessFeature(this);
		} else if (context.getNewObject() instanceof CallActivity) {
			return new AddCallActivityFeature(this);
		} else if (context.getNewObject() instanceof AlfrescoScriptTask) {
      return new AddAlfrescoScriptTaskFeature(this);
    }
		return super.getAddFeature(context);
	}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:80,代码来源:ActivitiBPMNFeatureProvider.java

示例14: caseBusinessRuleTask

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
@Override
public Adapter caseBusinessRuleTask(BusinessRuleTask object) {
	return createBusinessRuleTaskAdapter();
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:5,代码来源:Bpmn2AdapterFactory.java

示例15: setBusinessRuleTask

import org.eclipse.bpmn2.BusinessRuleTask; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setBusinessRuleTask(BusinessRuleTask newBusinessRuleTask) {
	((FeatureMap.Internal) getMixed()).set(
			Bpmn2Package.Literals.DOCUMENT_ROOT__BUSINESS_RULE_TASK,
			newBusinessRuleTask);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:11,代码来源:DocumentRootImpl.java


注:本文中的org.eclipse.bpmn2.BusinessRuleTask类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。