Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How do I define my own faceted project wizard?
How do I define my own faceted project wizard? [message #217728] Wed, 16 July 2008 20:29 Go to next message
Abraham Oren is currently offline Abraham OrenFriend
Messages: 1
Registered: July 2009
Junior Member
I'd like to define my own faceted project type, that uses my own first
wizard page, but that is faceted, so the second page that comes up allows
you to choose facets, etc.. Broadly, what are the steps I'd need to do to
achieve this? Is there any documentation on it? I've created a new
project wizard before, and have seen the facets tutorial that shows how to
create a new facet.
Re: How do I define my own faceted project wizard? [message #217896 is a reply to message #217728] Mon, 21 July 2008 17:16 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 961
Registered: July 2009
Senior Member
Abe,

You will want to extend ModifyFacetedProjectWizard class to create your
own custom wizard. You can take a look at
org.eclipse.jst.servlet.ui.project.facet.WebProjectWizard as an example
implementation, although it's certainly much more complicated than what
you will need. Once you have your wizard created, you register it as you
would any other project wizard.

Let me know if you have questions as you dive in.

- Konstantin


Abe Oren wrote:

> I'd like to define my own faceted project type, that uses my own first
> wizard page, but that is faceted, so the second page that comes up allows
> you to choose facets, etc.. Broadly, what are the steps I'd need to do to
> achieve this? Is there any documentation on it? I've created a new
> project wizard before, and have seen the facets tutorial that shows how to
> create a new facet.
Previous Topic:Running Java code for Facet validation
Next Topic:Public api for org.eclipse.wst.server.core.internal.ModuleType.getModuleType
Goto Forum:
  


Current Time: Fri Dec 19 01:41:41 GMT 2014

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

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