Description: This extension point allows to plug in a
compare/merge viewer for specific content types. The viewer must extend
org.eclipse.jface.viewers.Viewer.
However since viewers don't have a default constructor the extension
point must implement a factory object for viewers: the interface org.eclipse.compare.IViewerCreator.
Configuration Markup:
<!ELEMENT viewer EMPTY>
<!ATTLIST viewer
id
CDATA #REQUIRED
class
CDATA #REQUIRED
extensions CDATA #REQUIRED
>
<extension point = "org.eclipse.compare.contentMergeViewers">
<viewer
id="org.eclipse.compare.contentmergeviewer.TextMergeViewer"
class="org.eclipse.compare.internal.TextMergeViewerCreator"
extensions="txt"
/>
</extension>
Supplied Implementation:
The Compare UI plugin defines content viewers for text, binary contents,
and images.