Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Easy question - RCP, View, Editors, and Menus
Easy question - RCP, View, Editors, and Menus [message #244534] Mon, 24 May 2004 22:44
Mark Victory is currently offline Mark VictoryFriend
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
Previous Topic:certificate for bugs.eclipse.org
Next Topic:Javadoc view and html widget (linux gtk eclipse M9)
Goto Forum:
  


Current Time: Wed Jan 15 08:39:31 GMT 2025

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

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

Back to the top