void (Keymap keymap, String actionId, Shortcut shortcut) { if (keymap instanceof KeymapImpl) { ((KeymapImpl)keymap).removeShortcut(actionId, shortcut, true); } else { keymap.removeShortcut(actionId, shortcut); } }