Example Project Creation Wizard

org.eclipse.wst.common.ui.ExampleProjectCreationWizard

This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

This extension point allows to extend New project withard with the page set up setup information for the created project as well as source files that will be imported on the project creation.

<!ELEMENT extension (wizard)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT wizard (projectsetup*)>

<!ATTLIST wizard

id     CDATA #REQUIRED

banner CDATA #IMPLIED>


<!ELEMENT projectsetup (import* , nature* , references*)>

<!ATTLIST projectsetup

pagetitle       CDATA #IMPLIED

name            CDATA #IMPLIED

label           CDATA #IMPLIED

pagedescription CDATA #IMPLIED

open            CDATA #IMPLIED>

Element that describes additional project setup. There will be as many pages created for the wizard as there are projectsetup elements.



<!ELEMENT import EMPTY>

<!ATTLIST import

dest CDATA #IMPLIED

src  CDATA #IMPLIED>

Element that describes what to import into the project when it's created.



<!ELEMENT nature EMPTY>

<!ATTLIST nature

id CDATA #IMPLIED>

Element that specified Eclipse nature that is applicable to the project.



<!ELEMENT references EMPTY>

<!ATTLIST references

id CDATA #IMPLIED>

Element that specifies reference for the project that will be created.



   

<extension point=

"org.eclipse.wst.common.ui.exampleProjectCreationWizard"

id=

"org.eclipse.wst.xml.ui.ExampleProjectCreationWizardExtension"

>

<wizard id=

"org.eclipse.wst.xml.ui.ExampleProjectCreationWizard"

banner=

"icons/newSampleProject_wizbanner.gif"

>

<projectsetup pagetitle=

"%XMLExampleProjectCreationWizard.pagetitle"

name=

"%XMLExampleProjectCreationWizard.projectname"

label=

"%XMLExampleProjectCreationWizard.label"

pagedescription=

"%XMLExampleProjectCreationWizard.pagedescription"

open=

"readme.html"

>

<import dest=

""

src=

"examples/EditingAndValidatingXML.zip"

>

</import>

</projectsetup>

</wizard>

</extension>