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


Java Escalation类代码示例

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

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

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

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

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

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

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

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

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

示例10: caseEscalation

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

示例11: caseEscalation

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

示例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);
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:50,代码来源:Bpmn2JsonUnmarshaller.java

示例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);
    }
}
 
开发者ID:kiegroup,项目名称:kie-wb-common,代码行数:48,代码来源:Bpmn2JsonUnmarshaller.java

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

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


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