Mime Desc Adapter

Identifier:
com.ps.consul.eclipse.core.MimeDescAdapter

Since:
3.0.5

Description:
This extension point allows to adapt the description text before it is returned by the methods like getText or getDesc of an IPVDescriptable object.
Therefore, it is possible to adjust the description shown e.g. in UI or used in HTML export.
The description adaption does not affect direct access to the IPVDesc description objects

Configuration Markup:

<!ELEMENT extension (adapter+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>

Extension point for mime desc adapter.



<!ELEMENT adapter EMPTY>

<!ATTLIST adapter

class    CDATA #REQUIRED

priority CDATA "50"

mimeType CDATA #REQUIRED>

An additional mime desc adapter.



Examples:
<adapter class="the IMimeDescAdpater implementing java class"
         priority="the priority of the adapter"
         mimeType="the text mime type handled by the adapter">
</adapter>