Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Adding menu item to Project Explorer's drop down menu
icon7.gif  Adding menu item to Project Explorer's drop down menu [message #666721] Thu, 21 April 2011 18:51 Go to next message
Eclipse UserFriend
With eclipse 3.6.1, I believe I can contribute menu to project explorer view's drop down list. The extension point description for org.eclipse.ui.viewActions states that we can now use org.eclipse.ui.menus to place commands in menus and toolbars as well. So, I define a new menu contribution under org.eclipse.ui.menus extension point. I specified the location URI as popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?aft er=group.open, class = "" and allPopups = true. Under menu contribution, I have my menu (it's a dynamic cascading menu). I do not see my menu in the drop down for the project explorer. Am I missing something? Can someone point me to the correct procedure if I am doing it wrong?

Thanks!
Re: Adding menu item to Project Explorer's drop down menu [message #666993 is a reply to message #666721] Mon, 25 April 2011 08:01 Go to previous messageGo to next message
Eclipse UserFriend
On 04/21/2011 06:52 PM, venk wrote:
> With eclipse 3.6.1, I believe I can contribute menu to project explorer
> view's drop down list.

The view dropdown menu has a location of
menu:org.eclipse.ui.navigator.ProjectExplorer

PW



--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Re: Adding menu item to Project Explorer's drop down menu [message #667266 is a reply to message #666993] Wed, 27 April 2011 14:13 Go to previous message
Eclipse UserFriend
Thank you very much Paul. That helps!
Previous Topic:Patching a third party bundle with fragment
Next Topic:CNF extension for export wizard and working set
Goto Forum:
  


Current Time: Sun Jul 27 14:34:43 EDT 2025

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

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

Back to the top