void (AnActionEvent e, SelectedCommittedStuffChecker checker) { final Presentation presentation = e.getPresentation(); presentation.setIcon(myMarkAsMerged ? SvnIcons.MarkAsMerged : SvnIcons.MarkAsNotMerged); presentation.setText(getText()); presentation.setDescription(getDescription()); presentation.setEnabled(presentation.isEnabled() && mergeEnabled(checker.getSelectedLists(), myMarkAsMerged)); }