Action (@NotNull KeyStroke stroke) { return new AbstractAction(IdeBundle.message("button.set.0", KeymapUtil.getKeystrokeText(stroke))) { @Override public void actionPerformed(ActionEvent event) { setKeyStroke(stroke); } }; }