Package org.eclipse.emf.mwe.core
Class WorkflowContextDefaultImpl
java.lang.Object
org.eclipse.emf.mwe.core.WorkflowContextDefaultImpl
- All Implemented Interfaces:
WorkflowContext
Default
WorkflowContext
implementation.- Since:
- 4.0
- Author:
- Sven Efftinge (http://www.efftinge.de)
-
Field Summary
Fields inherited from interface org.eclipse.emf.mwe.core.WorkflowContext
DEFAULT_SLOT
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WorkflowContextDefaultImpl
public WorkflowContextDefaultImpl()
-
-
Method Details
-
get
Description copied from interface:WorkflowContext
returns the object of the given slot name.- Specified by:
get
in interfaceWorkflowContext
- Parameters:
modelName
- The slot's name.- Returns:
- The object associated to the specified slot or null if no such slot exists.
- See Also:
-
set
Description copied from interface:WorkflowContext
Sets the passed Model the specified slot. Removes the model currently set to the specified slot.- Specified by:
set
in interfaceWorkflowContext
- Parameters:
slotName
- The slot's name.model
- object to store in the slot (setnull
to remove the slot)- See Also:
-
getSlotNames
- Specified by:
getSlotNames
in interfaceWorkflowContext
-