Using one key binding for multiple actions [message #489234] |
Fri, 02 October 2009 00:04 |
Aaron Getz Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Hey Everyone,
I'm trying to find out if it is possible to bind one key "F5" for example to different actions that are declared in different plugins. So for example I have a perspective where I want F5 to call an action that refreshes a TableViewer and then I have another perspective where I want the F5 key to open a particular view.
It seems like this might be possible but I cannot find any good information telling me how to go about it. I found this article http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/wrkAdv_keyBindings.htm
which makes it sound like you can create a command and then bind that command to a key and then associate multiple actions to that command. I tried that an now neither of my actions work.
If anyone has any information on how to do this, I would greatly appreciate it.
Thanks,
Aaron Getz
|
|
|
Powered by
FUDForum. Page generated in 0.03486 seconds