global action ... [message #334902] |
Mon, 09 March 2009 12:27  |
Eclipse User |
|
|
|
Hi all,
really sorry to keep asking the same question but I'm really getting mad
trying to understand what to do ...
I have got 7 different views using the same delete command ...
I have got key binding correctly working and the views work on its own
context ...
the problem is ... I would really love to see the delete menu item in the
edit menu to turn enabled when the command delete (that I already see in my
popup menu is active)...
what shall I do ... is it possible???
I know that I can define an action inside the view and make it global via
actionBars.setGlobalActionHandler(
ActionFactory.DELETE.getId(), myAction);
but I have used the command framework just to be sure that I could define
ONCE the command and see it appearing in each view automatically.
Thanks in advance
Kar
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02886 seconds