Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » key binding
key binding [message #462142] Tue, 23 January 2007 16:11 Go to next message
Eclipse UserFriend
Originally posted by: leiwangx.gmail.com

i am looking for an extension in RCP that allows me to bind keys to a
functionality. for instance (F12) for About.

thanks
Re: key binding [message #462163 is a reply to message #462142] Wed, 24 January 2007 04:50 Go to previous message
Boris Stepanov is currently offline Boris StepanovFriend
Messages: 68
Registered: July 2009
Member
Hi, lei.

1. Create extension point org.eclipse.ui.bindings.
2. Add key to this extension point with the following properties:
sequence: F12
contextId: org.eclipse.ui.contexts.window
commandId: org.eclipse.ui.help.aboutAction

I test it with sequence = F12 - is not working, but with some other
sequences it works (e.g. F10, CTRL+SHIFT+A, etc). It seems that eclipse
reserve F12 key.

> i am looking for an extension in RCP that allows me to bind keys to a
> functionality. for instance (F12) for About.
> thanks
>


--
Boris Stepanov
Previous Topic:How to monitor RCP Plugin memory using TPTP?
Next Topic:change view tab color
Goto Forum:
  


Current Time: Sun Sep 08 03:23:32 GMT 2024

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

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

Back to the top