Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumscommon navigator framework: adding popup menu entry under New Submenu
https://www.eclipse.org/forums/index.php/mv/msg/248860/739563/#msg_739563
<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 -> ?<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&id=4388" 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&id=4389" 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&id=4390" 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&id=4391" alt=""><br>
<br>
<br>
Many thanks, <br>
<br>
Mircea<br>
</body>
</html>]]>2011-10-17T15:49:55-00:00