Mime Type Converter
Identifier:
com.ps.consul.eclipse.ui.MimeTypeConverter
Since:
2.5
Description:
The extension point allows to specify conversion handlers for different mime types.
A conversion of mime types for instance can occur when the user changes the description mime type of a model in the ModelPropertyPage
or when a tool tip needs a plain text for display of descriptions.
A mime type converter specifies the source and target mime type his conversion supports and provides the conversion itself through the IMimeTypeConverter interface.
Converters are prioritized, so higher priority (lower number) replaces lower priority converters.
Configuration Markup:
<!ELEMENT extension (converter)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
Extension point for additional mime type converter.
- point - com.ps.consul.eclipse.ui.MimeTypeConverter.
<!ELEMENT converter EMPTY>
<!ATTLIST converter
class CDATA #REQUIRED
priority CDATA "50">
An additional mime type converter.
- class - Defines the conversion class of the converter.
- priority - Defines the priority of this converter[0 and 100].
Examples:
<extension point="com.ps.consul.eclipse.ui.MimeTypeConverter">
<converter class="[the converter class]" priority="[priority between 0 and 100]"/>
</extension>