blob: d48dd73e2a1da61571035b0d6ff800c68f63292b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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: structureCreators</title>
</head>
<body link="#0000FF" vlink="#800080">
<center>
<h1>
StructureCreators</h1></center>
<b><i>Identifier: </i></b>org.eclipse.compare.structureCreators
<p><b><i>Description: </i></b>This extension point allows to plug in an
object that produces a tree structure of <tt>IStructureComparator</tt>
for a given content.
<p><b><i>Configuration Markup:</i></b>
<p><tt> <!ELEMENT structureCreator EMPTY></tt>
<br><tt> <!ATTLIST structureCreator</tt>
<br><tt> id
CDATA #REQUIRED</tt>
<br><tt> class
CDATA #REQUIRED</tt>
<br><tt> extensions CDATA #REQUIRED</tt>
<br><tt> ></tt>
<ul>
<li>
<b>id</b> - a unique identifier that can be used to reference the structure
creator</li>
<li>
<b>class</b> - name of a class that implements the strcuture creator and
implements <tt>org.eclipse.compare.structuremergeviewer.IStructureComparator</tt></li>
<li>
<b>extensions </b>- a comma separated list of file extensions e.g . "java,
properties"</li>
</ul>
<b><i>Examples:</i></b>
<br>The following is an example of a structure creator for java files (extension
"java"):
<p><extension point = "org.eclipse.compare.structureCreators">
<br> <structureCreator
<br> id="org.eclipse.compare.JavaStructureCreator"
<br> class="org.eclipse.compare.JavaStructureCreator"
<br> extensions="java"
<br> />
<br></extension>
<p><b><i>Supplied Implementation:</i></b>
<br>The Compare UI plugin defines a structure creator for zip archives.
<p><a href="hglegal.htm"><img SRC="ngibmcpy.gif" ALT="Copyright IBM Corp. 2000, 2001. All Rights Reserved." BORDER=0 height=12 width=195></a>
</body>
</html>
|