void () { ApplicationManager.getApplication().getMessageBus().connect(this).subscribe(KeymapManagerListener.TOPIC, new KeymapManagerListener() { @Override public void activeKeymapChanged(Keymap keymap) { fireShortcutsUpdated(); } @Override public void shortcutChanged(@NotNull Keymap keymap, @NotNull String actionId) { fireShortcutsUpdated(); } }); }