return parentWindowControlInfo;
}
public void adjustControllerState(boolean back, ExtendedControllerState ecstate, UserRequest ureq) {
ControllerState beforeState = ecstate.getPreviousState();
ControllerState afterState = ecstate.getCurrentState();
// TODO: should we move this check up? asking if a no-transition-info could maybe of any help here in some cases?
// nothing to do if we don't have to change our state.
if (beforeState.isSame(afterState)) return;
ControllerState curState = defaultController.getState();
if (back) {
// move from after to before state - but curState must match the start state of the transition (which is afterState) and toState may not be the null/pre-initialized state
if (afterState.isSame(curState) && !beforeState.isSame(StateConstants.NULL_STATE)) {
defaultController.adjustState(beforeState, ureq);