* @see com.evelopers.unimod.runtime.EventProvider#init(com.evelopers.unimod.runtime.ModelEngine)
*/
public void init(ModelEngine engine) throws CommonException
{
this.engine = engine;
engine.getEventProcessor().addEventProcessorListener(new AbstractEventProcessorListener()
{
@Override
public void comeToState(StateMachineContext context, StateMachinePath path, String stateName)
{
State state = model.getStateMachine(path.getStateMachine()).findState(stateName);