Constant Editor Panes

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

Since:
1.4

Description:
The type dependent constant code editors may be registered.
Type dependent means a constant editor is opened for: Element Class/Element Type/Attribute Name/Attribute Type.
These string values are returned by specific methods in the ICustomConstantPane Class that has to be specified for the extension point.
Therefore, the following has to be considered: Return null for a string value if this does not care for the editor.
It is allowed to return null for all values. Otherwise the Attribute Type must be specified.
Then in addition it is optional to specify the Attribute Name. If the attribute name is specified the element type and class may be specified.
This means it is not allowed to specify for example only Attribute Type and Element Type.

Configuration Markup:

<!ELEMENT extension (ConstantEditor)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for additional constant editor panes.



<!ELEMENT ConstantEditor EMPTY>

<!ATTLIST ConstantEditor

class CDATA #REQUIRED>

An additional constant editor pane.



Examples:
<ConstantPane class="the class for the editor: ICustomConstantPane"
</ConstantPane>