StructureMergeViewers

Identifier: org.eclipse.compare.structureMergeViewers

Description: This extension point allows to plug in a compare/merge viewer for structured content. 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
   >

Examples:
The following is an example of compare/merge viewer for zip files (extension "zip"):

<extension point = "org.eclipse.compare.structureMergeViewers">
     <viewer
         id="org.eclipse.compare.ZipCompareViewer"
         class="org.eclipse.compare.ZipCompareViewerCreator"
         extensions="zip"
    />
</extension>

Supplied Implementation:
The Compare UI plugin defines a structure compare viewer for zip archives.

Copyright IBM Corp. 2000, 2001.  All Rights Reserved.