Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Details on new workbench menu support in 3.3M4
Details on new workbench menu support in 3.3M4 [message #460491] Thu, 21 December 2006 10:50 Go to next message
Eclipse UserFriend
Originally posted by: rdjohnson.kingwoodcable.com

Trying to add programmatic support for dynamic global menus. I heard that version 3.3M4 has more direct management ability to the workbench menu manager. I cannot find any info in this area. Can someone point me to documentation or examples?
Re: Details on new workbench menu support in 3.3M4 [message #460542 is a reply to message #460491] Thu, 21 December 2006 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Randy Johnson wrote:
> Trying to add programmatic support for dynamic global menus. I heard that version 3.3M4 has more direct management ability to the workbench menu manager. I cannot find any info in this area. Can someone point me to documentation or examples?


There should be some info in the org.eclipse.ui.menus extension point,
also check out
http://wiki.eclipse.org/index.php/Menu_Item_Placement_Exampl es

Also, feel free to ask question here.

PW
Re: Details on new workbench menu support in 3.3M4 [message #460580 is a reply to message #460491] Fri, 22 December 2006 07:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rdjohnson.kingwoodcable.com

Thank you Paul. I saw this page earlier in my Googling, but did not mark it. I will go through the samples, as they appear to show what I am trying to do. I just want to add a global menu to the workbench when I open a perspective, but the menu options cannot easily be defined declaratively (I use access to a database to construct them on the fly).

Thanks again
Re: Details on new workbench menu support in 3.3M4 [message #460590 is a reply to message #460580] Fri, 22 December 2006 10:06 Go to previous message
Eclipse UserFriend
You can tie your menu contribution item to an action set which you can
turn on in your perspective. Then actually make your menu contribution
item a declarative dynamicContribution which will allow you to fill it
in programmatically. Of course, be careful with dynamic contributions
as they must be instantiated when the menus are created, and hence can
cause early plugin activation.

Later,
PW
Previous Topic:Problem while launching RCP application as using .product file.
Next Topic:actions declaratively or programmatically?
Goto Forum:
  


Current Time: Wed Mar 26 07:41:57 EDT 2025

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

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

Back to the top