Community
Participate
Working Groups
Currently key bindings can only be specified declaratively in the plugin.xml. We would like an approach that enables this to be done programmatically and dynamically. Our RCP application does not know about keybindings (and many other GUI aspects such as menus) until after the application has started. At which point it connects to a remote server, the keybindings are determined by messages received from the server.
*** Bug 84655 has been marked as a duplicate of this bug. ***
Just to add to my previous comment. Ideally we would like to specify the key binding using IAction.setAccelerator(..) and bypass the whole command framework since it is too heavyweight for our needs. If there was a scenario where this was possible, then we wouldn't require the programmatic specification of key binding for commands.
*** This bug has been marked as a duplicate of 84623 ***