Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Define Global Key Binding For Action
Define Global Key Binding For Action [message #901736] Tue, 14 August 2012 08:20 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 500
Registered: June 2011
Senior Member
Hi,

I am working with an RCP application consisting of many plugins. One of the plugin contains an action and i have used setAccelerator(SWT.CTRL | SWT.ALT | 'G') to give the short cut key to action.

I have multiple editor/views in my application but i want that when ever user presses CTRL + ALT + 'G' then it should invoke the action.

how can achieve this?

Regards,
Re: Define Global Key Binding For Action [message #902785 is a reply to message #901736] Mon, 20 August 2012 09:02 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising name
Messages: 500
Registered: June 2011
Senior Member
Finally i found the solution.

Please check the following article.

http://book.javanb.com/eclipse-rich-client-platform-designing-coding-and-packaging-java-applications-oct-2005/ch12lev1sec1.html
Previous Topic:License manager
Next Topic:Own product in Eclipse 3.8
Goto Forum:
  


Current Time: Thu Aug 28 07:17:01 EDT 2014

Powered by FUDForum. Page generated in 0.01740 seconds