Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » common navigator framework: adding popup menu entry under New Submenu
common navigator framework: adding popup menu entry under New Submenu [message #739551] Mon, 17 October 2011 15:49
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=4356" 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=4357" 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=4358" 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=4359" alt=""><br>
<br>
<br>
Many thanks, <br>
<br>
Mircea<br>
</body>
</html>
  • Attachment: edebhbhb.png
    (Size: 5.61KB, Downloaded 179 times)
  • Attachment: ajdjiifa.png
    (Size: 12.76KB, Downloaded 178 times)
  • Attachment: ehdhacdj.png
    (Size: 4.78KB, Downloaded 170 times)
  • Attachment: dcijjhja.png
    (Size: 8.87KB, Downloaded 163 times)
Previous Topic:File Association (--launcher.openFile)
Next Topic:common navigator framework: adding popup menu entry under New Submenu
Goto Forum:
  


Current Time: Fri Mar 29 00:28:31 GMT 2024

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

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

Back to the top