Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » common navigator framework: adding popup menu entry under New Submenu
common navigator framework: adding popup menu entry under New Submenu [message #739562] Mon, 17 October 2011 15:49 Go to next message
Eclipse UserFriend
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, <br>
<br>
I would like to know how to add a popup menu item inside the New
category of my common navigator view (the standard Project Explorer
view of the IDE). <br>
In short, what do I append to "group.new" in my menubarPath such
that the menu appears inside NEW -&gt; ?<br>
<br>
My current implementation is the following: <br>
<br>
Declaring a ui.popupMenus extension with my custom action<br>
<br>
<img src="http://www.eclipse.org/forums/index.php?t=getfile&amp;id=4384" alt=""><br>
<br>
<br>
Inside my custom action definition I set the menu bar path to
"group.new" <br>
<br>
<img src="http://www.eclipse.org/forums/index.php?t=getfile&amp;id=4385" alt=""><br>
<br>
... which gives the following result: the action is added next to
the new selection <br>
<br>
<img src="http://www.eclipse.org/forums/index.php?t=getfile&amp;id=4386" alt=""><br>
<br>
<br>
How do I set MenubarPath such that my action appears INSIDE New,
under Project... or File?<br>
<br>
<img src="http://www.eclipse.org/forums/index.php?t=getfile&amp;id=4387" alt=""><br>
<br>
<br>
Many thanks, <br>
<br>
Mircea<br>
</body>
</html>
  • Attachment: edebhbhb.png
    (Size: 5.61KB, Downloaded 102 times)
  • Attachment: ajdjiifa.png
    (Size: 12.76KB, Downloaded 105 times)
  • Attachment: ehdhacdj.png
    (Size: 4.78KB, Downloaded 112 times)
  • Attachment: dcijjhja.png
    (Size: 8.87KB, Downloaded 97 times)
Re: common navigator framework: adding popup menu entry under New Submenu [message #755910 is a reply to message #739562] Thu, 10 November 2011 07:18 Go to previous messageGo to next message
Jiri Janecek is currently offline Jiri JanecekFriend
Messages: 12
Registered: February 2011
Junior Member
Hello, three days ago I needed to add item to new submenu too.
I never managed to do that by popup menu and object contributions. I simply
get error Path is invalid "group.new" or smt. like that. Group.edit,
is working but group.new not. I googled that the items to the new menu
is possible to add by defining commonNavigatorConentExtension/WizardShortcut.
This is working for me.

JJ
Re: common navigator framework: adding popup menu entry under New Submenu [message #903763 is a reply to message #755910] Sat, 25 August 2012 15:34 Go to previous message
Priyank Thakkar is currently offline Priyank ThakkarFriend
Messages: 8
Registered: August 2012
Junior Member
Can you explain it me in little more detail?
Previous Topic:Issues with resource filters
Next Topic:how I have browser event of miss image
Goto Forum:
  


Current Time: Mon Nov 24 21:59:39 GMT 2014

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

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