本文整理汇总了Java中org.eclipse.bpmn2.Collaboration类的典型用法代码示例。如果您正苦于以下问题:Java Collaboration类的具体用法?Java Collaboration怎么用?Java Collaboration使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Collaboration类属于org.eclipse.bpmn2包,在下文中一共展示了Collaboration类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: notifyChanged
import org.eclipse.bpmn2.Collaboration; //导入依赖的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(Collaboration.class)) {
case Bpmn2Package.COLLABORATION__IS_CLOSED:
case Bpmn2Package.COLLABORATION__NAME:
fireNotifyChanged(new ViewerNotification(notification,
notification.getNotifier(), false, true));
return;
case Bpmn2Package.COLLABORATION__PARTICIPANTS:
case Bpmn2Package.COLLABORATION__MESSAGE_FLOWS:
case Bpmn2Package.COLLABORATION__ARTIFACTS:
case Bpmn2Package.COLLABORATION__CONVERSATIONS:
case Bpmn2Package.COLLABORATION__CONVERSATION_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__PARTICIPANT_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__MESSAGE_FLOW_ASSOCIATIONS:
case Bpmn2Package.COLLABORATION__CORRELATION_KEYS:
case Bpmn2Package.COLLABORATION__CONVERSATION_LINKS:
fireNotifyChanged(new ViewerNotification(notification,
notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
示例2: eSet
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
getParticipantAssociations().addAll(
(Collection<? extends ParticipantAssociation>) newValue);
return;
case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
setCalledCollaborationRef((Collaboration) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例3: eSet
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
getParticipantAssociations().addAll(
(Collection<? extends ParticipantAssociation>) newValue);
return;
case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
setCalledCollaborationRef((Collaboration) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例4: getText
import org.eclipse.bpmn2.Collaboration; //导入依赖的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 = ((Collaboration) object).getName();
return label == null || label.length() == 0 ? getString("_UI_Collaboration_type")
: getString("_UI_Collaboration_type") + " " + label;
}
示例5: setCalledCollaborationRef
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCalledCollaborationRef(
Collaboration newCalledCollaborationRef) {
Collaboration oldCalledCollaborationRef = calledCollaborationRef;
calledCollaborationRef = newCalledCollaborationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF,
oldCalledCollaborationRef, calledCollaborationRef));
}
示例6: eUnset
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
return;
case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
setCalledCollaborationRef((Collaboration) null);
return;
}
super.eUnset(featureID);
}
示例7: basicSetCollaboration
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCollaboration(
Collaboration newCollaboration, NotificationChain msgs) {
return ((FeatureMap.Internal) getMixed()).basicAdd(
Bpmn2Package.Literals.DOCUMENT_ROOT__COLLABORATION,
newCollaboration, msgs);
}
示例8: setDefinitionalCollaborationRef
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDefinitionalCollaborationRef(
Collaboration newDefinitionalCollaborationRef) {
Collaboration oldDefinitionalCollaborationRef = definitionalCollaborationRef;
definitionalCollaborationRef = newDefinitionalCollaborationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF,
oldDefinitionalCollaborationRef,
definitionalCollaborationRef));
}
示例9: setCalledCollaborationRef
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCalledCollaborationRef(Collaboration newCalledCollaborationRef) {
Collaboration oldCalledCollaborationRef = calledCollaborationRef;
calledCollaborationRef = newCalledCollaborationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF,
oldCalledCollaborationRef, calledCollaborationRef));
}
示例10: eUnset
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.CALL_CONVERSATION__PARTICIPANT_ASSOCIATIONS:
getParticipantAssociations().clear();
return;
case Bpmn2Package.CALL_CONVERSATION__CALLED_COLLABORATION_REF:
setCalledCollaborationRef((Collaboration) null);
return;
}
super.eUnset(featureID);
}
示例11: setDefinitionalCollaborationRef
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setDefinitionalCollaborationRef(Collaboration newDefinitionalCollaborationRef) {
Collaboration oldDefinitionalCollaborationRef = definitionalCollaborationRef;
definitionalCollaborationRef = newDefinitionalCollaborationRef;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF,
oldDefinitionalCollaborationRef, definitionalCollaborationRef));
}
示例12: caseCollaboration
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
@Override
public Adapter caseCollaboration(Collaboration object) {
return createCollaborationAdapter();
}
示例13: setCollaboration
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCollaboration(Collaboration newCollaboration) {
((FeatureMap.Internal) getMixed()).set(
Bpmn2Package.Literals.DOCUMENT_ROOT__COLLABORATION,
newCollaboration);
}
示例14: eSet
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case Bpmn2Package.PROCESS__LANE_SETS:
getLaneSets().clear();
getLaneSets().addAll((Collection<? extends LaneSet>) newValue);
return;
case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
getFlowElements().clear();
getFlowElements().addAll(
(Collection<? extends FlowElement>) newValue);
return;
case Bpmn2Package.PROCESS__AUDITING:
setAuditing((Auditing) newValue);
return;
case Bpmn2Package.PROCESS__MONITORING:
setMonitoring((Monitoring) newValue);
return;
case Bpmn2Package.PROCESS__PROPERTIES:
getProperties().clear();
getProperties().addAll((Collection<? extends Property>) newValue);
return;
case Bpmn2Package.PROCESS__ARTIFACTS:
getArtifacts().clear();
getArtifacts().addAll((Collection<? extends Artifact>) newValue);
return;
case Bpmn2Package.PROCESS__RESOURCES:
getResources().clear();
getResources()
.addAll((Collection<? extends ResourceRole>) newValue);
return;
case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
getCorrelationSubscriptions().clear();
getCorrelationSubscriptions().addAll(
(Collection<? extends CorrelationSubscription>) newValue);
return;
case Bpmn2Package.PROCESS__SUPPORTS:
getSupports().clear();
getSupports().addAll(
(Collection<? extends org.eclipse.bpmn2.Process>) newValue);
return;
case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
setDefinitionalCollaborationRef((Collaboration) newValue);
return;
case Bpmn2Package.PROCESS__IS_CLOSED:
setIsClosed((Boolean) newValue);
return;
case Bpmn2Package.PROCESS__IS_EXECUTABLE:
setIsExecutable((Boolean) newValue);
return;
case Bpmn2Package.PROCESS__PROCESS_TYPE:
setProcessType((ProcessType) newValue);
return;
case Bpmn2Package.PROCESS__FILENAME:
setFilename((String) newValue);
return;
case Bpmn2Package.PROCESS__EXECUTION_LISTENERS:
getExecutionListeners().clear();
getExecutionListeners().addAll(
(Collection<? extends ActivitiListener>) newValue);
return;
case Bpmn2Package.PROCESS__NAMESPACE:
setNamespace((String) newValue);
return;
case Bpmn2Package.PROCESS__PROCESS_ACTIONS:
getProcessActions().clear();
getProcessActions().addAll(
(Collection<? extends ProcessAction>) newValue);
return;
}
super.eSet(featureID, newValue);
}
示例15: eUnset
import org.eclipse.bpmn2.Collaboration; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case Bpmn2Package.PROCESS__LANE_SETS:
getLaneSets().clear();
return;
case Bpmn2Package.PROCESS__FLOW_ELEMENTS:
getFlowElements().clear();
return;
case Bpmn2Package.PROCESS__AUDITING:
setAuditing((Auditing) null);
return;
case Bpmn2Package.PROCESS__MONITORING:
setMonitoring((Monitoring) null);
return;
case Bpmn2Package.PROCESS__PROPERTIES:
getProperties().clear();
return;
case Bpmn2Package.PROCESS__ARTIFACTS:
getArtifacts().clear();
return;
case Bpmn2Package.PROCESS__RESOURCES:
getResources().clear();
return;
case Bpmn2Package.PROCESS__CORRELATION_SUBSCRIPTIONS:
getCorrelationSubscriptions().clear();
return;
case Bpmn2Package.PROCESS__SUPPORTS:
getSupports().clear();
return;
case Bpmn2Package.PROCESS__DEFINITIONAL_COLLABORATION_REF:
setDefinitionalCollaborationRef((Collaboration) null);
return;
case Bpmn2Package.PROCESS__IS_CLOSED:
setIsClosed(IS_CLOSED_EDEFAULT);
return;
case Bpmn2Package.PROCESS__IS_EXECUTABLE:
setIsExecutable(IS_EXECUTABLE_EDEFAULT);
return;
case Bpmn2Package.PROCESS__PROCESS_TYPE:
setProcessType(PROCESS_TYPE_EDEFAULT);
return;
case Bpmn2Package.PROCESS__FILENAME:
setFilename(FILENAME_EDEFAULT);
return;
case Bpmn2Package.PROCESS__EXECUTION_LISTENERS:
getExecutionListeners().clear();
return;
case Bpmn2Package.PROCESS__NAMESPACE:
setNamespace(NAMESPACE_EDEFAULT);
return;
case Bpmn2Package.PROCESS__PROCESS_ACTIONS:
getProcessActions().clear();
return;
}
super.eUnset(featureID);
}