Easy question - RCP, View, Editors, and Menus [message #244534] |
Mon, 24 May 2004 22:44 |
Mark Victory Messages: 133 Registered: July 2009 |
Senior Member |
|
|
Hi all,
I have done tutorials, etc. and am building an RCP based application.
My simple question is:
What is the best way to have main menu items that work in both a view
(Outline Viewish) and in an Editor. From my reading, it appears that view
menus and toolbars want to be in the View window. That may be the right
mechanism for full blown Eclipse apps but not for RCP applications.
Assuming that I add an action to handle the menu event, would I then need to
disable the menu when focus is in a view/editor where the menu item does not
apply? Also, when the actions is called, would the action have to determine
what the active workbench part is at the time?
Hopefully I'm just missing something obvious,
Thanks in advance,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.02795 seconds