| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.ui" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.ui" id="exportWizards" name="Export Wizards"/> |
| </appInfo> |
| <documentation> |
| 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. |
| <p> |
| Wizards may optionally specify a description subelement whose body should contain short text about the wizard. |
| </p> |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <choice minOccurs="0" maxOccurs="unbounded"> |
| <element ref="category"/> |
| <element ref="wizard"/> |
| </choice> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="keywordReference"> |
| <annotation> |
| <documentation> |
| A reference by an Export Wizard to a keyword. See the keywords extension point. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The id of the keyword being referred to. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.ui.keywords/keyword/@id"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="category"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name that can be used to identify this category |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a translatable name of the category that will be used in the dialog box |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="parentCategory" type="string"> |
| <annotation> |
| <documentation> |
| a path to another category if this category should be added as a child |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.ui.exportWizards/category/@id"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="wizard"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name" icon="icon"/> |
| </appInfo> |
| <documentation> |
| an element that will be used to create export wizard |
| </documentation> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="description" minOccurs="0" maxOccurs="1"/> |
| <element ref="selection" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="keywordReference" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name that will be used to identify this wizard |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a translatable name that will be used in the dialog box to represent this wizard |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="category" type="string"> |
| <annotation> |
| <documentation> |
| a slash-delimited path ('/') of category IDs. Each token in the |
| path must represent a valid category ID previously defined |
| by this or some other plug-in. If omitted, the wizard will be |
| added to the "Other" category. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified name of the class that implements <tt>org.eclipse.ui.IExportWizard</tt> |
| interface |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jface.wizard.Wizard:org.eclipse.ui.IExportWizard"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="icon" type="string"> |
| <annotation> |
| <documentation> |
| a relative name of the icon that will be used |
| alongside the wizard name in the export engine listing. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="resource"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="description" type="string"> |
| <annotation> |
| <appInfo> |
| <meta.element translatable="true"/> |
| </appInfo> |
| <documentation> |
| an optional subelement whose body should represent a short description |
| of the export engine functionality. |
| </documentation> |
| </annotation> |
| </element> |
| |
| <element name="selection"> |
| <annotation> |
| <documentation> |
| an optional element that restricts the types and names of objects that can be selected |
| when the wizard is invoked. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name filter. Each object in the workbench selection must match the name filter to be passed to the wizard. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified class name. If each object in the workbench selection implements this interface the selection will be passed to the wizard. Otherwise, an empty selection is passed. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of an export extension definition: |
| <p> |
| <pre> |
| <extension |
| point="org.eclipse.ui.exportWizards"> |
| <wizard |
| id="com.xyz.ExportWizard1" |
| name="XYZ Web Exporter" |
| class="com.xyz.exports.ExportWizard1" |
| icon="./icons/import1.png"> |
| <description> |
| A simple engine that exports Web project |
| </description> |
| <selection class="org.eclipse.core.resources.IProject"/> |
| </wizard> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The value of the <samp>class</samp> attribute |
| must be a name of the class that implements |
| <samp>org.eclipse.ui.IExportWizard</samp>. |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| The workbench comes preloaded with basic export engines |
| for files and directories. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2002, 2005 IBM Corporation and others.<br> |
| |
| This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License 2.0 which accompanies |
| this distribution, and is available at <a |
| href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| |
| SPDX-License-Identifier: EPL-2.0 |
| </documentation> |
| </annotation> |
| |
| </schema> |