void (@NotNull AnActionEvent e) { final Presentation presentation = e.getPresentation(); presentation.setEnabled(myModel.getSelectedIndex() < myModel.getSize() - 1); presentation.setText(XPathBundle.message("action.previous.history.entry.text")); presentation.setDescription(XPathBundle.message("action.navigate.to.previous.history.entry.description")); }