void (String name, JComponent component, Disposable parentDisposable) { AnAction action = ActionManager.getInstance().getAction(name); action.registerCustomShortcutSet(action.getShortcutSet(), component, parentDisposable); }