Extension Wizards

Identifier:
org.eclipse.pde.ui.newExtension

Description:
This extension point should be used to contribute wizards that will be used to create and edit new extensions in PDE plug-in manifest editor. Wizards can create one or more extensions at the same time, as well as the code needed to implement those extensions. If a contributed wizard is specifically created for a particular extension point, it is advisable to also register a matching editor wizard. This wizard will be used to edit the extension point in the manifest editor after it has been created in the manifest file.

Configuration Markup:

<!ELEMENT extension (wizard | category | editorWizard)*>

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

availableAsShortcut (true | false)

category            IDREF #IMPLIED

template            IDREF #IMPLIED

>

a wizard that can be used to create a new extension from within the plug-in manifest editor



<!ELEMENT editorWizard (description?)>

<!ATTLIST editorWizard

id    CDATA #REQUIRED

name  CDATA #REQUIRED

icon  CDATA #IMPLIED

class CDATA #REQUIRED

point CDATA #REQUIRED

>

a wizard that can be used to edit an existing extension from within the plug-in manifest editor



<!ELEMENT category EMPTY>

<!ATTLIST category

id             CDATA #REQUIRED

name           CDATA #REQUIRED

parentCategory IDREF #IMPLIED

>


<!ELEMENT description (#PCDATA)>

A short description of this wizard.



Examples:
The following is an example of the extension:


<extension
      point="org.eclipse.pde.ui.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.ui.IExtensionWizard interface.

Supplied Implementation:
PDE provides a generic wizard that creates extension points based on the extension point schema information. In addition, all templates registered using org.eclipse.pde.ui.templates extension point in PDE UI are also hooked as individual extension wizards.


Copyright (c) 2004 IBM Corporation and others.
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 http://www.eclipse.org/legal/epl-v10.html.