final MapController mapController = Controller.getCurrentModeController().getMapController();
mapController.addNodeChangeListener(this);
try{
undoHandler.getRedoAction().actionPerformed(e);
if(lastChangedNode != null){
mapController.displayNode(lastChangedNode);
controller.getSelection().selectAsTheOnlyOneSelected(lastChangedNode);
lastChangedNode = null;
}
undo.setEnabled(undoHandler.canUndo());
setEnabled(undoHandler.canRedo());