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


Java Collaboration类代码示例

本文整理汇总了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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:33,代码来源:CollaborationItemProvider.java

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:CallConversationImpl.java

示例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);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:21,代码来源:CallConversationImpl.java

示例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;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:13,代码来源:CollaborationItemProvider.java

示例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));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:15,代码来源:CallConversationImpl.java

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:18,代码来源:CallConversationImpl.java

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:12,代码来源:DocumentRootImpl.java

示例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));
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:16,代码来源:ProcessImpl.java

示例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));
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:14,代码来源:CallConversationImpl.java

示例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);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:18,代码来源:CallConversationImpl.java

示例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));
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:14,代码来源:ProcessImpl.java

示例12: caseCollaboration

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

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:11,代码来源:DocumentRootImpl.java

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:79,代码来源:ProcessImpl.java

示例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);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:63,代码来源:ProcessImpl.java


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