| Adding Key Binding to Command [message #1118190] |
Fri, 27 September 2013 02:36 |
sajja Phani Messages: 23 Registered: August 2011 |
Junior Member |
|
|
Hi All,
I have a command. I have added this command to different parts in the workbench (editor, project explorer, outline).
I have added the keybinding as
<key
commandId="my.command.id"
contextId="my.context.id"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="Key Sequence">
</key>
In this one my.context.id is the editor context which is overridden one from 'org.eclipse.ui.textEditorScope'
Now Key binding is available in the editor context. In other contexts, (explorer, outline) it is not available.
Is there something I am missing for enabling key binding at other places.
How to do it.
--
Thanks
Sajja
|
|
|
Powered by
FUDForum. Page generated in 0.01448 seconds