Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » What is the trick to adding submenus to an IMenuManager?
What is the trick to adding submenus to an IMenuManager? [message #292199] Fri, 30 September 2005 09:32 Go to next message
Eclipse UserFriend
private void fillContextMenu(IMenuManager manager)
{

IAction createChild = new CreateChildAction("CHILD_CREATE");
// i would like to put these action on a seperate contextmenu
}
Re: What is the trick to adding submenus to an IMenuManager? [message #292200 is a reply to message #292199] Fri, 30 September 2005 10:15 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Drew" <drew@acm.org> wrote in message news:dhjeq4$acj$1@news.eclipse.org...
> private void fillContextMenu(IMenuManager manager)
> {
>
> IAction createChild = new CreateChildAction("CHILD_CREATE");
> // i would like to put these action on a seperate contextmenu
> }
>
IMenuManager subMenu = new MenuManager("blah");
manager.add(subMenu);
subMenu.add(new CreateChildAction("CHILD_CREATE"));

---
Sunil
Previous Topic:Change in FTP Support from Eclipse 2.1 to 3.1?
Next Topic:Using Default Java Compiler to Build
Goto Forum:
  


Current Time: Wed Nov 05 17:45:47 EST 2025

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

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

Back to the top