Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How do you remove wizards from a wizard registry?
How do you remove wizards from a wizard registry? [message #309824] Thu, 09 November 2006 13:44 Go to next message
Eclipse UserFriend
The wizard registries hold wizards registered as extensions. For my
RCP, I need some plugins but they also provide wizards but I don't want
showing in the wizard list. For example, the CVS module includes import
wizards from repositories but I don't want this wizard showing in the
import wizard list when using the ImportResourceAction action to start
the import wizard.

Thoughts on how to remove from the import wizard registry? Perhaps I
need to remove the extension itself for that wizard?

(see PlatformUI.getWorkbench().getImportWizardRegistry()).
Re: How do you remove wizards from a wizard registry? [message #309854 is a reply to message #309824] Fri, 10 November 2006 08:06 Go to previous messageGo to next message
Eclipse UserFriend
by default you can't remove anything ... you get it for free :-)

But you can make certain parts not visible. You need to use
Activities/capabilities ... bind the ids that you don't want there to an
activity and leave it disabled ... that will make it disappear from the UI.

Check out Help>Help Contents>Platform Plug-in Developer
Guide>Programmers Guide for information, and search this (and
eclipse.platform.rcp) newsgroup archives.

Pookzilla also has a blog with some examples.

Later,
PW
Re: How do you remove wizards from a wizard registry? [message #309866 is a reply to message #309854] Fri, 10 November 2006 09:55 Go to previous message
Eclipse UserFriend
That seems to work in general. Here's a couple of links for others:

http://eclipse.pookzilla.net/2006/10/context-capability-and- perspective.php
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse. jdt.doc.user/reference/ref-menu-source.htm


I would venture that a good feature to have is something that allows one
to select ids that are literally "never turn on" features. Perhaps an
extension point that uses activities under the hood until more
infrastructure supports turning on/off parts of plugins.

Seems like turning off things is just as important as turning on things
when customizing (thinking back to SAP-type configuration/customization).

Thanks a bunch.





Paul Webster wrote:
> by default you can't remove anything ... you get it for free :-)
>
> But you can make certain parts not visible. You need to use
> Activities/capabilities ... bind the ids that you don't want there to an
> activity and leave it disabled ... that will make it disappear from the UI.
>
> Check out Help>Help Contents>Platform Plug-in Developer
> Guide>Programmers Guide for information, and search this (and
> eclipse.platform.rcp) newsgroup archives.
>
> Pookzilla also has a blog with some examples.
>
> Later,
> PW
Previous Topic:Meaning of the magic "." in build.includes
Next Topic:Error: "Resource with different case"
Goto Forum:
  


Current Time: Tue Jul 22 14:20:03 EDT 2025

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

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

Back to the top