public void afterViewChange(final Component oldMap, final Component pNewMap) {
Controller controller = Controller.getCurrentController();
final ModeController oldModeController = controller.getModeController();
ModeController newModeController = oldModeController;
if (pNewMap != null) {
final IMapSelection mapSelection = getMapSelection();
final NodeModel selected = mapSelection.getSelected();
mapSelection.scrollNodeToVisible(selected);
setZoomComboBox(getZoom());
obtainFocusForSelected();
newModeController = getModeController(pNewMap);
if (newModeController != oldModeController) {
controller.selectMode(newModeController);