Skip to main content



      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 18:44
Eclipse UserFriend
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: Thu Jul 17 00:38:33 EDT 2025

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

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

Back to the top