How to handle shortcuts in editor with different targets ? [message #334249] |
Thu, 29 January 2009 05:01 |
Eclipse User |
|
|
|
I am searching for good hints on the following scenario:#
I have two or more editable table viewers in an editor page. These are
sorrunded by a section by convention and i have programmaticaly declared
actions (could be menu contributions but this makes it even harder) on
the sections toolbar to create and delete rows. How can I bind keyboard
shortcuts to these actions that target at the action with tableviewer
that has the focus ? I mean invoke add on the right table ?
I think I can have different command handlers and set the context
corresponding but I think this is lot of work ??
Regards Thomas
|
|
|
Powered by
FUDForum. Page generated in 0.05317 seconds