Element Editor

Identifier:
com.ps.consul.eclipse.ui.ElementEditors

Since:
1.3

Description:
Element editors are used to create new and editing existing elements.
The editor is registered for the given element class and type.
If no type is given the dialog is registered for all elements of the class.
The parentclass and parenttype values are used to decide when to show the editor to create a new element.
If both attributes are left the editor is always shown in the "New" submenu.
For a new editor implement the com.ps.consul.eclipse.ui.dialogs.ICustomElementEditor interface.

Configuration Markup:

<!ELEMENT extension (editor)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for additional element editor.



<!ELEMENT editor EMPTY>

<!ATTLIST editor

class        CDATA #REQUIRED

parentclass  CDATA #REQUIRED

parenttype   CDATA #IMPLIED

elementclass CDATA #REQUIRED

elementtype  CDATA #IMPLIED

priority     CDATA #IMPLIED

name         CDATA #REQUIRED

icon         CDATA #IMPLIED>

An additional element editor.



Examples:
<editor class="the implementing java class"
        elementclass="the class of the element"
        elementtype="the type of the element"
        parentclass="the class of the parent element"
        parenttype="the type of the parent element"
        priority="the priority for sorting"
        icon="the icon for the menu item"
        name="the name for the menu item">
</editor>