Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Adding menumanager to newWizardAction (ResourceNavigator New -Group)
Adding menumanager to newWizardAction (ResourceNavigator New -Group) [message #297734] Thu, 19 January 2006 00:56 Go to next message
Eclipse UserFriend
Hello Gurus,

Currently we can not add a menumanager or a new menu in the newWizardMenu.
We can just override addItems() .. and add our contribution item to the
list.
I want to achieve the following ..
<Resource>
New >
MyModel
> Model1
> Model2
Project
Folder
File

Is there any workaround for this problem ?

Regards
Kaniska
Re: Adding menumanager to newWizardAction (ResourceNavigator New -Group) [message #297780 is a reply to message #297734] Thu, 19 January 2006 11:22 Go to previous message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

Kaniska wrote:
> Currently we can not add a menumanager or a new menu in the newWizardMenu.
> We can just override addItems() .. and add our contribution item to the
> list.
> I want to achieve the following ..
> <Resource>
> New >
> MyModel
> > Model1
> > Model2
> Project
> Folder
> File
>
> Is there any workaround for this problem ?

How does it appear when you add a MenuManager by extending addItems()?
Example:

protected void addItems(List list) {
list.add(yourMenuManager);
super.addItems(list);
}



cheers,
d.
Previous Topic:Undo in properties view
Next Topic:gef under eclipse 3.1.1
Goto Forum:
  


Current Time: Thu May 08 05:44:50 EDT 2025

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

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

Back to the top