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                  IDREF #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    IDREF #REQUIRED

name  CDATA #REQUIRED

icon  CDATA #IMPLIED

class CDATA #REQUIRED

point IDREF #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             IDREF #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.png"
         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, 2014 IBM Corporation and others.
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 https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0.