| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.pde.ui"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.pde.ui" id="pluginContent" name="Plug-in Content Wizards"/> |
| </appInfo> |
| <documentation> |
| This extension point provides for contributing wizards that create additional content of the PDE plug-in |
| projects. After the plug-in manifest and key files have been |
| created, these wizards can be used to add more files and |
| extensions to the initial structure. A typical implementation |
| of this wizard would add content based on a parametrized |
| template customized based on the user choices in the wizard. |
| The goal is to arrive at a plug-in that is does something |
| useful right after the creation (e.g. contributes a view, |
| an editor etc.). |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="wizard" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <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="wizard"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="name" icon="icon"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="description" minOccurs="0" maxOccurs="1"/> |
| </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 UI representation |
| of this wizard. |
| </documentation> |
| <appInfo> |
| <meta.attribute translatable="true"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="icon" type="string"> |
| <annotation> |
| <documentation> |
| a relative path of an icon that will be used to visually |
| represent the wizard. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="resource"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified name of a class which implements |
| <samp>org.eclipse.pde.ui.IPluginContentWizard</samp>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.jface.Wizard:org.eclipse.pde.ui.IPluginContentWizard"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| <attribute name="category" type="string"> |
| <annotation> |
| <documentation> |
| an optional tag that can be used to associate content wizards with different target projects. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="ui-content" type="boolean" use="default" value="true"> |
| <annotation> |
| <documentation> |
| a flag that indicates if the wizard will contribute code with user interface content. This flag will affect which plug-in class will be picked since (UI plug-ins extend <code>AbstractUIPlugin</code> class, while non-UI plug-ins extends <code>Plugin</code> base class). Since many contributions to Eclipse have UI content, this attribute is <code>true</code> by default. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="java" type="boolean" use="default" value="true"> |
| <annotation> |
| <documentation> |
| a flag that indicates that the wizard will contribute Java content. Since most of the Eclipse plug-ins have Java code, the attribute is <code>true</code> by default. Set it to <code>false</code> if the plug-in will not have Java code (for example, documentation files only). |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="rcp" type="boolean" use="default" value="false"> |
| <annotation> |
| <documentation> |
| Since 3.1. A boolean flag indicating whether the wizard contributes a standalone fully-functioning rich client application. If set to <code>true</code>, the wizard will appear in the New Plug-in Project wizard only when the user chooses the Rich Client Application option. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="pureOSGi" type="boolean" use="default" value="false"> |
| <annotation> |
| <documentation> |
| Since 3.2. A boolean flag indicating whether the wizard contributes a pure OSGi bundle. If set to <code>true</code>, the wizard will appear in the New Plug-in Project wizard only when the user chooses to create a pure OSGi bundle. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="requiresActivator" type="boolean" use="default" value="false"> |
| <annotation> |
| <documentation> |
| Since 3.2. A boolean flag indicating whether the wizard contributes an activator class. If set to <code>true</code>, the wizard will appear in the New Plug-in Project wizard only when the user chooses to generate an activator to control the plug-in life cycle. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="description" type="string"> |
| <annotation> |
| <appInfo> |
| <meta.element translatable="true"/> |
| </appInfo> |
| <documentation> |
| Short description of this wizard. |
| </documentation> |
| </annotation> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| The following is an example of this extension point: |
| <pre> |
| <extension point="org.eclipse.pde.ui.pluginContent"> |
| <wizard |
| name="Example Plug-in Content Generator" |
| icon="icons/content_wizard.gif" |
| class="com.example.xyz.ContentGeneratorWizard" |
| id="com.example.xyz.ExampleContentGenerator"> |
| <description> |
| Adds a view and a preference page. |
| </description> |
| </wizard> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Wizards that plug into this extension point must |
| implement <samp>org.eclipse.pde.ui.IPluginContentWizard</samp> |
| interface and is expected to extend <code>org.eclipse.jface.wizard.Wizard</code>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| PDE provides APIs for contributing content wizards based on customizable templates. A number of concrete wizards based on these templates is contributed by PDE UI itself. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2004 IBM Corporation and others. |
| <br> |
| All rights reserved. This program and the accompanying materials are made |
| available under the terms of the Eclipse Public License v1.0 which |
| accompanies this distribution, and is available at |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>. |
| </documentation> |
| </annotation> |
| |
| </schema> |