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.
- class - The implementing java class
- parentclass - The class of the parent element
- parenttype - The type of the parent element
- elementclass - The class of the element
- elementtype - The type of the element
- priority - The priority for sorting
- name - The name for the menu item
- icon - The icon for the menu item
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>