void (final ActionEvent e) { try { navigation.goBack(); backButton.setEnabled(navigation.canGoBack()); } catch (VcsException e1) { Messages.showErrorDialog(e1.getMessage(), ""); backButton.setEnabled(false); } forwardButton.setEnabled(navigation.canGoForward()); selectFirstIfAny(); }