void (@NotNull AnActionEvent e) { super.update(e); getTemplatePresentation().setText(mySettings.compareMode.getPresentableName()); e.getPresentation().setText(mySettings.compareMode.getPresentableName()); e.getPresentation().setEnabledAndVisible(mySettings.showCompareModes); }