Export Wizards

org.eclipse.ui.exportWizards

This extension point is used to register export wizard extensions. Export wizards appear as choices within the "Export Dialog", and are used to export resources from the workbench.

Wizards may optionally specify a description subelement whose body should contain short text about the wizard.

<!ELEMENT extension (wizard*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT wizard (description? , selection*)>

<!ATTLIST wizard

id    CDATA #REQUIRED

name  CDATA #REQUIRED

class CDATA #REQUIRED

icon  CDATA #IMPLIED>

an element that will be used to create export wizard



<!ELEMENT description (#CDATA)>

an optional subelement whose body should represent a short description of the export engine functionality.



<!ELEMENT selection EMPTY>

<!ATTLIST selection

name  CDATA #IMPLIED

class CDATA #REQUIRED>

an optional element that restricts the types and names of objects that can be selected when the wizard is invoked.



The following is an example of an export extension definition:

   

<extension point=

"org.eclipse.ui.exportWizards"

>

<wizard id=

"com.xyz.ExportWizard1"

name=

"XYZ Web Exporter"

class=

"com.xyz.exports.ExportWizard1"

icon=

"./icons/import1.gif"

>

<description>

A simple engine that exports Web project

</description>

<selection class=

"org.eclipse.core.resources.IProject"

/>

</wizard>

</extension>

The value of the class attribute must be a name of the class that implements org.eclipse.ui.IExportWizard.

The workbench comes preloaded with basic export engines for files and directories.