void (@NotNull AnActionEvent e) { String abbr = Messages.showInputDialog(IdeBundle.message("label.enter.new.abbreviation"), IdeBundle.message("dialog.title.abbreviation"), null); if (abbr != null) { AbbreviationManager.getInstance().register(abbr, myActionId); repaintLists(); } }