Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/plugins/org.eclipse.compare/doc/org_eclipse_compare_structureMergeViewers.html')
-rw-r--r--bundles/org.eclipse.compare/plugins/org.eclipse.compare/doc/org_eclipse_compare_structureMergeViewers.html53
1 files changed, 53 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/doc/org_eclipse_compare_structureMergeViewers.html b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/doc/org_eclipse_compare_structureMergeViewers.html
new file mode 100644
index 000000000..0de389610
--- /dev/null
+++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/doc/org_eclipse_compare_structureMergeViewers.html
@@ -0,0 +1,53 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <meta name="GENERATOR" content="Mozilla/4.75 [en] (WinNT; U) [Netscape]">
+ <title>Compare Extension Points: structureMergeViewers</title>
+</head>
+<body link="#0000FF" vlink="#800080">
+
+<center>
+<h1>
+StructureMergeViewer</h1></center>
+<b><i>Identifier: </i></b>org.eclipse.compare.structureMergeViewers
+<p><b><i>Description: </i></b>This extension point allows to plug in a
+compare/merge viewer for structured content. The viewer must extend <tt>org.eclipse.jface.viewers.Viewer</tt>.
+However since viewers don't have a default constructor the extension point
+must implement a factory object for viewers: the interface <tt>org.eclipse.compare.IViewerCreator</tt>.
+<p><b><i>Configuration Markup:</i></b>
+<p><tt>&nbsp;&nbsp; &lt;!ELEMENT viewer EMPTY></tt>
+<br><tt>&nbsp;&nbsp; &lt;!ATTLIST viewer</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extensions CDATA #REQUIRED</tt>
+<br><tt>&nbsp;&nbsp; ></tt>
+<ul>
+<li>
+<b>id</b> - a unique identifier that can be used to reference the viewer</li>
+
+<li>
+<b>class</b> - name of a class that implements a factory for the strcuture
+merge viewer and implements <tt>org.eclipse.compare.IViewerCreator</tt></li>
+
+<li>
+<b>extensions </b>- a comma separated list of file extensions e.g . "zip,
+jar"</li>
+</ul>
+<b><i>Examples:</i></b>
+<br>The following is an example of compare/merge viewer for zip files (extension
+"zip"):
+<p>&lt;extension point = "org.eclipse.compare.structureMergeViewers">
+<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;viewer
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id="org.eclipse.compare.ZipCompareViewer"
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class="org.eclipse.compare.ZipCompareViewerCreator"
+<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; extensions="zip"
+<br>&nbsp;&nbsp;&nbsp; />
+<br>&lt;/extension>
+<p><b><i>Supplied Implementation:</i></b>
+<br>The Compare UI plugin defines a structure compare viewer for zip archives.
+<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corporation 2000" BORDER=0 height=12 width=195></a>
+</body>
+</html>

Back to the top