|
|
Re: How to assign keys to an action [message #301279 is a reply to message #301230] |
Mon, 27 March 2006 07:41  |
Eclipse User |
|
|
|
AL wrote:
> Hi,
>
> I am contributing an action to the workbench toolbar for my editor would
> like to be able to associate the keystrokes that will activate the
> action, for example, pressing ALT+F8 to turn on my action.
>
> I am using the below extension point.
>
> <extension point="org.eclipse.ui.editorActions">
> <editorContribution
> ...
>
You can link an action to a command (org.eclipse.ui.commands) using the
actionDefinitionId and then map a key to the command using
org.eclipse.ui.bindings
Also, check out http://www.magma.ca/~pollockd/despumate/bindingsHowTo.html
Later,
PW
|
|
|
Powered by
FUDForum. Page generated in 0.04845 seconds