Extension Wizards
Identifier
org.eclipse.pde.newExtensionDescription
This extension point can be used to plug in wizards
that will be used to create new extensions in
PDE plug-in manifest editor. Wizards can create on
or more extensions at the same time, as well
as the code needed to implement those extensions.
Note: this extension point is internal and can
only be used by PDE.
Markup
<!ELEMENT extension (wizard | category)*>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT wizard (description?)>
<!ATTLIST wizard
id CDATA #REQUIRED
name CDATA #REQUIRED
icon CDATA #IMPLIED
class CDATA #REQUIRED
availableAsShortcut (true | false) "false"#IMPLIED
category CDATA #IMPLIED
>
- id - a unique name that will be used to identify this wizard.
- name - a translatable name that will be used in UI representation
of this wizard.
- icon - a relative path of an icon that will be used to visually
represent the wizard.
- class - a fully qualified name of a class which implements
org.eclipse.pde.internal.base.IExtensionWizard
interface.
- availableAsShortcut - If true, this wizard will appear in the
short cut menu on the menu bar and the tool bar.
- category - an optional id that makes this wizard a member of the
previously defined category. If category is hierarchical,
full path to the parent category should be specified
using '/' as a delimiter.
<!ELEMENT category (EMPTY)>
<!ATTLIST category
id CDATA #REQUIRED
name CDATA #REQUIRED
parentCategory CDATA #IMPLIED
>
- id - a unique name that will be used to reference this category
- name - a translatable name that will be used for UI presentation
of this category
- parentCategory - an optional attribute that can be used to create
category hierarchy
<!ELEMENT description (#CDATA)>
Example
The following is an example of the extension:
<extension
point="org.eclipse.pde.newExtension">
<category
name="Custom Extensions"
id="custom">
</category>
<wizard
availableAsShortcut="true"
name="Simple Java Editor Extension"
icon="icons/java_edit.gif"
category="generic"
class="com.example.xyz.SimpleJavaEditorExtension"
id="com.example.xyz.simple">
<description>
This wizard creates a simple Java editor with
all the required classes and manifest markup.
</description>
</wizard>
</extension>
API Information
This extension point requires that a class that
implements
org.eclipse.pde.internal.base.IExtensionWizard
interface.Supplied Implementation
PDE provides generic wizard that creates extension
points based on the extension point schema information.