Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding Key Binding to Command(Key Binding is not available at all places)
Adding Key Binding to Command [message #1118190] Fri, 27 September 2013 02:36
Eclipse UserFriend
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
Previous Topic:error during RCP product build using PDE.
Next Topic:CoolBar ContributionItem ignored in E4
Goto Forum:
  


Current Time: Sun Mar 16 19:28:43 EDT 2025

Powered by FUDForum. Page generated in 0.03378 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top