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 12:20 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 529
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 13:02 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 529
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: Wed Nov 26 03:30:24 GMT 2014

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

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