本文整理汇总了Java中org.eclipse.bpmn2.CancelEventDefinition类的典型用法代码示例。如果您正苦于以下问题:Java CancelEventDefinition类的具体用法?Java CancelEventDefinition怎么用?Java CancelEventDefinition使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CancelEventDefinition类属于org.eclipse.bpmn2包,在下文中一共展示了CancelEventDefinition类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getText
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的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 = ((CancelEventDefinition) object).getId();
return label == null || label.length() == 0 ? getString("_UI_CancelEventDefinition_type")
: getString("_UI_CancelEventDefinition_type") + " " + label;
}
示例2: basicSetCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCancelEventDefinition(
CancelEventDefinition newCancelEventDefinition,
NotificationChain msgs) {
return ((FeatureMap.Internal) getMixed()).basicAdd(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
newCancelEventDefinition, msgs);
}
示例3: setCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCancelEventDefinition(
CancelEventDefinition newCancelEventDefinition) {
((FeatureMap.Internal) getMixed()).set(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
newCancelEventDefinition);
}
示例4: basicSetCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCancelEventDefinition(
CancelEventDefinition newCancelEventDefinition, NotificationChain msgs) {
return ((FeatureMap.Internal) getMixed()).basicAdd(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
newCancelEventDefinition, msgs);
}
示例5: caseCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
@Override
public Adapter caseCancelEventDefinition(CancelEventDefinition object) {
return createCancelEventDefinitionAdapter();
}
示例6: getCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CancelEventDefinition getCancelEventDefinition() {
return (CancelEventDefinition) getMixed().get(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
true);
}
示例7: caseCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
@Override
public Adapter caseCancelEventDefinition(CancelEventDefinition object) {
return createCancelEventDefinitionAdapter();
}
示例8: setCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCancelEventDefinition(CancelEventDefinition newCancelEventDefinition) {
((FeatureMap.Internal) getMixed()).set(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION,
newCancelEventDefinition);
}
示例9: getFixture
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* Returns the fixture for this Cancel Event Definition test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
protected CancelEventDefinition getFixture() {
return (CancelEventDefinition) fixture;
}
示例10: caseCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* Returns the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCancelEventDefinition(CancelEventDefinition object) {
return null;
}
示例11: createCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CancelEventDefinition createCancelEventDefinition() {
CancelEventDefinitionImpl cancelEventDefinition = new CancelEventDefinitionImpl();
return cancelEventDefinition;
}
示例12: caseCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* Returns the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
* @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Cancel Event Definition</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
public T caseCancelEventDefinition(CancelEventDefinition object) {
return null;
}
示例13: getCancelEventDefinition
import org.eclipse.bpmn2.CancelEventDefinition; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CancelEventDefinition getCancelEventDefinition() {
return (CancelEventDefinition) getMixed().get(
Bpmn2Package.Literals.DOCUMENT_ROOT__CANCEL_EVENT_DEFINITION, true);
}