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


Java GlobalScriptTask类代码示例

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


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

示例1: getText

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的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 = ((GlobalScriptTask) object).getName();
	return label == null || label.length() == 0 ? getString("_UI_GlobalScriptTask_type")
			: getString("_UI_GlobalScriptTask_type") + " " + label;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:13,代码来源:GlobalScriptTaskItemProvider.java

示例2: notifyChanged

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的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(GlobalScriptTask.class)) {
	case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT:
	case Bpmn2Package.GLOBAL_SCRIPT_TASK__SCRIPT_LANGUAGE:
		fireNotifyChanged(new ViewerNotification(notification,
				notification.getNotifier(), false, true));
		return;
	}
	super.notifyChanged(notification);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:21,代码来源:GlobalScriptTaskItemProvider.java

示例3: basicSetGlobalScriptTask

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

示例4: marshallGlobalTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
protected void marshallGlobalTask(GlobalTask globalTask,
                                  JsonGenerator generator) {
    if (globalTask instanceof GlobalBusinessRuleTask) {
    } else if (globalTask instanceof GlobalManualTask) {
    } else if (globalTask instanceof GlobalScriptTask) {
    } else if (globalTask instanceof GlobalUserTask) {
    } else {
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:10,代码来源:Bpmn2JsonMarshaller.java

示例5: caseGlobalScriptTask

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

示例6: setGlobalScriptTask

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

示例7: caseGlobalScriptTask

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

示例8: basicSetGlobalScriptTask

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

示例9: getFixture

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * Returns the fixture for this Global Script Task test case.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected GlobalScriptTask getFixture() {
	return (GlobalScriptTask) fixture;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:11,代码来源:GlobalScriptTaskTest.java

示例10: caseGlobalScriptTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * Returns the result of interpreting the object as an instance of '<em>Global Script Task</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>Global Script Task</em>'.
 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
 * @generated
 */
public T caseGlobalScriptTask(GlobalScriptTask object) {
	return null;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:15,代码来源:Bpmn2Switch.java

示例11: getGlobalScriptTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GlobalScriptTask getGlobalScriptTask() {
	return (GlobalScriptTask) getMixed().get(
			Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK, true);
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:10,代码来源:DocumentRootImpl.java

示例12: createGlobalScriptTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GlobalScriptTask createGlobalScriptTask() {
	GlobalScriptTaskImpl globalScriptTask = new GlobalScriptTaskImpl();
	return globalScriptTask;
}
 
开发者ID:logicalhacking,项目名称:SecureBPMN,代码行数:10,代码来源:Bpmn2FactoryImpl.java

示例13: caseGlobalScriptTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * Returns the result of interpreting the object as an instance of '<em>Global Script Task</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>Global Script Task</em>'.
 * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
 * @generated
 */
public T caseGlobalScriptTask(GlobalScriptTask object) {
    return null;
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:15,代码来源:Bpmn2Switch.java

示例14: getGlobalScriptTask

import org.eclipse.bpmn2.GlobalScriptTask; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public GlobalScriptTask getGlobalScriptTask() {
    return (GlobalScriptTask) getMixed().get(
            Bpmn2Package.Literals.DOCUMENT_ROOT__GLOBAL_SCRIPT_TASK, true);
}
 
开发者ID:fixteam,项目名称:fixflow,代码行数:10,代码来源:DocumentRootImpl.java

示例15: setGlobalScriptTask

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


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