FAQ How do I provide a keyboard shortcut for my action?  From
Eclipsepedia  Revision as of 15:27, 14 March 2006 by Claffra
(Talk | contribs)  Jump to: navigation, search  Keyboard
shortcuts are created by defining a key binding, using the
org.eclipse.ui.commands extension point. When you define a key
binding, you generally specify four things:    • The ID of the
configuration to which it applies.</li>   • The context, or
scope, for the key binding. For example, the text editor defines
a context that can override bindings from the global
context.</li>    • The ID of the command that you are creating a
binding for. You can find  command IDs by browsing the
plugin.xml file of the plug-in that defines that action.</li>
• The accelerator sequence.</li>  You can also define a key
binding that applies only to a particular locale or platform.
For example, you can define an accelerator that applies only to
a German Linux GTK installation of Eclipse. See the command
extension point documentation for more details on