Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » commonWizard shortcut appears only in Project Explorer, not Package Explorer
commonWizard shortcut appears only in Project Explorer, not Package Explorer [message #537506] Wed, 02 June 2010 16:38 Go to next message
Troy Nichols is currently offline Troy NicholsFriend
Messages: 28
Registered: July 2009
Junior Member
Hi all,

I have some code in plugin.xml that looks like this:

<extension
point="org.eclipse.ui.navigator.navigatorContent">
<commonWizard
type="new"
wizardId="my.wizard.id">
<enablement>
<instanceof value="org.eclipse.core.resources.IResource"/>
</enablement>
</commonWizard>
</extension>

Now my wizard shortcut appears correctly in the Project Explorer view,
but not at all in the Package Explorer, which is where I want it.
Anyone have any ideas?

Thanks,
Troy Nichols
Re: commonWizard shortcut appears only in Project Explorer, not Package Explorer [message #537507 is a reply to message #537506] Wed, 02 June 2010 16:48 Go to previous message
Francis Upton IV is currently offline Francis Upton IVFriend
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
The CommonWizard is only for the Project Explorer. I don't know if the the Package Explorer can be extended in that way, but if so it would be a different mechanism. You should ask in the JDT group (since the Package Explorer is Java-specific).

Previous Topic:Cross-platform update site
Next Topic:Proper way to change file permissions in installed files after a bundle install?
Goto Forum:
  


Current Time: Sun Dec 21 20:18:04 GMT 2014

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

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