Description Editors

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

Since:
2.5

Description:
The extension point allows to specify a custom description editor for a mime type.
Everywhere descriptions can be entered (e.g. element dialog), the default description text field is replaced by the description editor given in the extension.
For using the extension, you implement a factory class derived from IDescriptionEditor that creates the description editor and specifies the mime type supported by the editor.
The factories are prioritized, so higher priority (lower number) replaces lower priority converters.

Configuration Markup:

<!ELEMENT extension (factory)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for description editors.



<!ELEMENT factory EMPTY>

<!ATTLIST factory

class    CDATA #REQUIRED

priority CDATA "50">

An additional factory editor.



Examples:
<extension point="com.ps.consul.eclipse.ui.DescriptionEditors">
   <factory class="[the editor factory class]" 
    priority="[priority between 0 and 100]"/>
</extension>