Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Exportwizard enablement for specific project
Exportwizard enablement for specific project [message #331671] Tue, 16 September 2008 08:35 Go to next message
Eclipse UserFriend
Hi,

How can I create an exportWizard that can only export my custom Project?
Best would be if, when user selects my CustomExportWizard in the Eclipse
export selection dialog, that an error message is shown saying: "You
need to select a project of type CUSTOM to export with this wizard". Is
this currently possible?

An alternative would be that the exportwizard does not even show up for
certain selections. I tried using the <selection> tag of the extension
point but that was too limited and did not do the trick. Are there any
other ways of achieving this behavior?

Cheers,

/Ola
Re: Exportwizard enablement for specific project [message #331685 is a reply to message #331671] Tue, 16 September 2008 11:51 Go to previous message
Eclipse UserFriend
You would probably have to use a subclass of the standard "pick a
project" page. If it gets pre-populated correctly you are good to go,
if not you put up an validation error message and disable the Next button.

Check out org.eclipse.ui.dialogs.WizardExportResourcesPage

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:Multiple eclipse version support.
Next Topic:Contribute to Resource Navigator New Submenu
Goto Forum:
  


Current Time: Sun Feb 09 04:39:53 GMT 2025

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

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

Back to the top