I'm extending Eclipse using the Eclipse plugin infrastructure, and I've come into a problem I can't quite figure out how to get around:
I have a command that has some hotkey. I also have an editor that needs to steal the key bindings from Eclipse (disabling the key filter in the IBindingService). However, this command is "important" enough that the hotkey for it still needs to work. Currently, in that specific editor, in the part where I'm listening for key events I check for what is the default key bind for that command and manually launch it if it detects it. The obvious problem for this is that if the key binding for the command is changed, this still uses the default binding in just that editor. Is there some way I can easily access the key binding of a particular command so that I can check for that rather than simply the default one?
I realize this solution isn't portable between different editors, but this is the only editor I have to worry about this in, so I don't really mind special casing this one.