}
}
// reset the current state to the one we just navigated to
currentState = cs;
DisplayEvent de = cs.event;
if (de == null)
return;
// make sure that isRefiring is turned off prior to exiting this routine
// this flag is used to tell the controller to not create new states
// when we are refiring the event that we saved earlier
currentState.isRefiring = true;
// the order of the following is checked in most specific to generic because
// of the inheritance heirarchy
de.setRefired(true);
if (de instanceof EntityDisplayEvent) {
EntityDisplayEvent ede = (EntityDisplayEvent) de;
ede.setEntityChanged(true);
if (ede.getEntity() instanceof ObjEntity) {
fireObjEntityDisplayEvent(ede);