本文整理汇总了Java中org.eclipse.bpmn2.Escalation类的典型用法代码示例。如果您正苦于以下问题:Java Escalation类的具体用法?Java Escalation怎么用?Java Escalation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Escalation类属于org.eclipse.bpmn2包,在下文中一共展示了Escalation类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getText
import org.eclipse.bpmn2.Escalation; //导入依赖的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 = ((Escalation) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Escalation_type")
: getString("_UI_Escalation_type") + " " + label;
}
示例2: notifyChanged
import org.eclipse.bpmn2.Escalation; //导入依赖的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(Escalation.class)) {
case Bpmn2Package.ESCALATION__ESCALATION_CODE:
case Bpmn2Package.ESCALATION__NAME:
fireNotifyChanged(new ViewerNotification(notification,
notification.getNotifier(), false, true));
return;
}
super.notifyChanged(notification);
}
示例3: basicSetEscalation
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetEscalation(Escalation newEscalation,
NotificationChain msgs) {
return ((FeatureMap.Internal) getMixed()).basicAdd(
Bpmn2Package.Literals.DOCUMENT_ROOT__ESCALATION, newEscalation,
msgs);
}
示例4: setEscalationRef
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEscalationRef(Escalation newEscalationRef) {
Escalation oldEscalationRef = escalationRef;
escalationRef = newEscalationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF,
oldEscalationRef, escalationRef));
}
示例5: eSet
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
setEscalationRef((Escalation) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例6: eUnset
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
setEscalationRef((Escalation) null);
return;
}
super.eUnset(featureID);
}
示例7: setEscalationRef
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setEscalationRef(Escalation newEscalationRef) {
Escalation oldEscalationRef = escalationRef;
escalationRef = newEscalationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF, oldEscalationRef,
escalationRef));
}
示例8: eSet
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
setEscalationRef((Escalation) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例9: eUnset
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.ESCALATION_EVENT_DEFINITION__ESCALATION_REF:
setEscalationRef((Escalation) null);
return;
}
super.eUnset(featureID);
}
示例10: caseEscalation
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
@Override
public Adapter caseEscalation(Escalation object) {
return createEscalationAdapter();
}
示例11: caseEscalation
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
@Override
public Adapter caseEscalation(Escalation object) {
return createEscalationAdapter();
}
示例12: revisitThrowEvents
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* Updates event definitions for all throwing events.
* @param def Definitions
*/
public void revisitThrowEvents(Definitions def) {
List<RootElement> rootElements = def.getRootElements();
List<Signal> toAddSignals = new ArrayList<Signal>();
Set<Error> toAddErrors = new HashSet<Error>();
Set<Escalation> toAddEscalations = new HashSet<Escalation>();
Set<Message> toAddMessages = new HashSet<Message>();
Set<ItemDefinition> toAddItemDefinitions = new HashSet<ItemDefinition>();
for (RootElement root : rootElements) {
if (root instanceof Process) {
setThrowEventsInfo((Process) root,
def,
rootElements,
toAddSignals,
toAddErrors,
toAddEscalations,
toAddMessages,
toAddItemDefinitions);
}
}
for (Lane lane : _lanes) {
setThrowEventsInfoForLanes(lane,
def,
rootElements,
toAddSignals,
toAddErrors,
toAddEscalations,
toAddMessages,
toAddItemDefinitions);
}
for (Signal s : toAddSignals) {
def.getRootElements().add(s);
}
for (Error er : toAddErrors) {
def.getRootElements().add(er);
}
for (Escalation es : toAddEscalations) {
def.getRootElements().add(es);
}
for (ItemDefinition idef : toAddItemDefinitions) {
def.getRootElements().add(idef);
}
for (Message msg : toAddMessages) {
def.getRootElements().add(msg);
}
}
示例13: revisitCatchEvents
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* Updates event definitions for all catch events.
* @param def Definitions
*/
public void revisitCatchEvents(Definitions def) {
List<RootElement> rootElements = def.getRootElements();
List<Signal> toAddSignals = new ArrayList<Signal>();
Set<Error> toAddErrors = new HashSet<Error>();
Set<Escalation> toAddEscalations = new HashSet<Escalation>();
Set<Message> toAddMessages = new HashSet<Message>();
Set<ItemDefinition> toAddItemDefinitions = new HashSet<ItemDefinition>();
for (RootElement root : rootElements) {
if (root instanceof Process) {
setCatchEventsInfo((Process) root,
def,
toAddSignals,
toAddErrors,
toAddEscalations,
toAddMessages,
toAddItemDefinitions);
}
}
for (Lane lane : _lanes) {
setCatchEventsInfoForLanes(lane,
def,
toAddSignals,
toAddErrors,
toAddEscalations,
toAddMessages,
toAddItemDefinitions);
}
for (Signal s : toAddSignals) {
def.getRootElements().add(s);
}
for (Error er : toAddErrors) {
def.getRootElements().add(er);
}
for (Escalation es : toAddEscalations) {
def.getRootElements().add(es);
}
for (ItemDefinition idef : toAddItemDefinitions) {
def.getRootElements().add(idef);
}
for (Message msg : toAddMessages) {
def.getRootElements().add(msg);
}
}
示例14: setFixture
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* Sets the fixture for this Escalation test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void setFixture(Escalation fixture) {
this.fixture = fixture;
}
示例15: getFixture
import org.eclipse.bpmn2.Escalation; //导入依赖的package包/类
/**
* Returns the fixture for this Escalation test case.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected Escalation getFixture() {
return fixture;
}