public class SimpleStateCoder extends java.lang.Object implements IStateCoder
| Constructor and Description |
|---|
SimpleStateCoder(EMFHelper.MetaModelElements metaModelElements) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
createActivationCode(IPatternMatch match)
Returns a pseudo-unique identifier that describes the given
IPatternMatch in the context of the
underlying model's current internal state. |
java.lang.Object |
createStateCode()
Returns a pseudo-unique identifier that describes the underlying model's current internal state.
|
void |
init(org.eclipse.emf.common.notify.Notifier notifier)
Initializes the state coder on the given model.
|
public SimpleStateCoder(EMFHelper.MetaModelElements metaModelElements)
public void init(org.eclipse.emf.common.notify.Notifier notifier)
IStateCoderinit in interface IStateCoderpublic java.lang.Object createStateCode()
IStateCodercreateStateCode in interface IStateCoderObject that can be used as the identifier.public java.lang.Object createActivationCode(IPatternMatch match)
IStateCoderIPatternMatch in the context of the
underlying model's current internal state.createActivationCode in interface IStateCoderObject that can be used as the identifier in the given state.