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 #739557] Mon, 17 October 2011 11:49
Eclipse User
<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=4372" 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=4373" 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=4374" 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=4375" alt=""><br>
<br>
<br>
Many thanks, <br>
<br>
Mircea<br>
</body>
</html>
  • Attachment: edebhbhb.png
    (Size: 5.61KB, Downloaded 86 times)
  • Attachment: ajdjiifa.png
    (Size: 12.76KB, Downloaded 90 times)
  • Attachment: ehdhacdj.png
    (Size: 4.78KB, Downloaded 89 times)
  • Attachment: dcijjhja.png
    (Size: 8.87KB, Downloaded 84 times)
Previous Topic:common navigator framework: adding popup menu entry under New Submenu
Next Topic:common navigator framework: adding popup menu entry under New Submenu
Goto Forum:
  


Current Time: Fri Apr 18 06:35:34 EDT 2014

Powered by FUDForum. Page generated in 0.05477 seconds