Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:51 Go to next message
venk Missing name is currently offline venk Missing nameFriend
Messages: 12
Registered: March 2011
Junior Member
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 12:01 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

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 18:13 Go to previous message
venk Missing name is currently offline venk Missing nameFriend
Messages: 12
Registered: March 2011
Junior Member
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: Tue Apr 16 18:08:56 GMT 2024

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

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

Back to the top