Extension Wizards

Identifier

org.eclipse.pde.newExtension

Description

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
   >

   <!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
   >

   <!ELEMENT category (EMPTY)>
   <!ATTLIST category
     id             CDATA #REQUIRED
     name           CDATA #REQUIRED
     parentCategory CDATA #IMPLIED
   >

   <!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.

Copyright IBM Corp. 2000, 2001.  All Rights Reserved.