Lines 2-10
Link Here
|
2 |
<!-- Schema file written by PDE --> |
2 |
<!-- Schema file written by PDE --> |
3 |
<schema targetNamespace="org.eclipse.compare" xmlns="http://www.w3.org/2001/XMLSchema"> |
3 |
<schema targetNamespace="org.eclipse.compare" xmlns="http://www.w3.org/2001/XMLSchema"> |
4 |
<annotation> |
4 |
<annotation> |
5 |
<appinfo> |
5 |
<appInfo> |
6 |
<meta.schema plugin="org.eclipse.compare" id="structureMergeViewers" name="StructureMerge Viewers"/> |
6 |
<meta.schema plugin="org.eclipse.compare" id="structureMergeViewers" name="StructureMerge Viewers"/> |
7 |
</appinfo> |
7 |
</appInfo> |
8 |
<documentation> |
8 |
<documentation> |
9 |
This extension point allows a plug-in to register compare/merge |
9 |
This extension point allows a plug-in to register compare/merge |
10 |
viewers for structural content types. The viewer is expected to |
10 |
viewers for structural content types. The viewer is expected to |
Lines 17-25
Link Here
|
17 |
|
17 |
|
18 |
<element name="extension"> |
18 |
<element name="extension"> |
19 |
<annotation> |
19 |
<annotation> |
20 |
<appinfo> |
20 |
<appInfo> |
21 |
<meta.element /> |
21 |
<meta.element /> |
22 |
</appinfo> |
22 |
</appInfo> |
23 |
</annotation> |
23 |
</annotation> |
24 |
<complexType> |
24 |
<complexType> |
25 |
<sequence> |
25 |
<sequence> |
Lines 45-53
Link Here
|
45 |
<documentation> |
45 |
<documentation> |
46 |
an optional name of the extension instance |
46 |
an optional name of the extension instance |
47 |
</documentation> |
47 |
</documentation> |
48 |
<appinfo> |
48 |
<appInfo> |
49 |
<meta.attribute translatable="true"/> |
49 |
<meta.attribute translatable="true"/> |
50 |
</appinfo> |
50 |
</appInfo> |
51 |
</annotation> |
51 |
</annotation> |
52 |
</attribute> |
52 |
</attribute> |
53 |
</complexType> |
53 |
</complexType> |
Lines 68-76
Link Here
|
68 |
a fully qualified name of a class that implements a factory for the |
68 |
a fully qualified name of a class that implements a factory for the |
69 |
structure merge viewer and implements <samp>org.eclipse.compare.IViewerCreator</samp> |
69 |
structure merge viewer and implements <samp>org.eclipse.compare.IViewerCreator</samp> |
70 |
</documentation> |
70 |
</documentation> |
71 |
<appinfo> |
71 |
<appInfo> |
72 |
<meta.attribute kind="java" basedOn=":org.eclipse.compare.IViewerCreator"/> |
72 |
<meta.attribute kind="java" basedOn=":org.eclipse.compare.IViewerCreator"/> |
73 |
</appinfo> |
73 |
</appInfo> |
74 |
</annotation> |
74 |
</annotation> |
75 |
</attribute> |
75 |
</attribute> |
76 |
<attribute name="extensions" type="string" use="required"> |
76 |
<attribute name="extensions" type="string" use="required"> |
Lines 80-85
Link Here
|
80 |
</documentation> |
80 |
</documentation> |
81 |
</annotation> |
81 |
</annotation> |
82 |
</attribute> |
82 |
</attribute> |
|
|
83 |
<attribute name="label" type="string"> |
84 |
<annotation> |
85 |
<documentation> |
86 |
a translatable label that will be used in the UI for this viewer |
87 |
</documentation> |
88 |
<appInfo> |
89 |
<meta.attribute translatable="true"/> |
90 |
</appInfo> |
91 |
</annotation> |
92 |
</attribute> |
83 |
</complexType> |
93 |
</complexType> |
84 |
</element> |
94 |
</element> |
85 |
|
95 |
|
Lines 95-103
Link Here
|
95 |
<documentation> |
105 |
<documentation> |
96 |
The id of a content type defined using the <code>org.eclipse.core.contenttype.contentTypes</code> extension point. |
106 |
The id of a content type defined using the <code>org.eclipse.core.contenttype.contentTypes</code> extension point. |
97 |
</documentation> |
107 |
</documentation> |
98 |
<appinfo> |
108 |
<appInfo> |
99 |
<meta.attribute kind="identifier" basedOn="org.eclipse.core.contenttype.contentTypes/content-type/@id"/> |
109 |
<meta.attribute kind="identifier" basedOn="org.eclipse.core.contenttype.contentTypes/content-type/@id"/> |
100 |
</appinfo> |
110 |
</appInfo> |
101 |
</annotation> |
111 |
</annotation> |
102 |
</attribute> |
112 |
</attribute> |
103 |
<attribute name="structureMergeViewerId" type="string" use="required"> |
113 |
<attribute name="structureMergeViewerId" type="string" use="required"> |
Lines 105-122
Link Here
|
105 |
<documentation> |
115 |
<documentation> |
106 |
The id of a structure merge viewer defined using the <code>viewer</code> element of this extension point (i.e. <code>org.eclipse.compare.structureMergeViewers</code>) |
116 |
The id of a structure merge viewer defined using the <code>viewer</code> element of this extension point (i.e. <code>org.eclipse.compare.structureMergeViewers</code>) |
107 |
</documentation> |
117 |
</documentation> |
108 |
<appinfo> |
118 |
<appInfo> |
109 |
<meta.attribute kind="identifier" basedOn="org.eclipse.compare.structureMergeViewers/viewer/@id"/> |
119 |
<meta.attribute kind="identifier" basedOn="org.eclipse.compare.structureMergeViewers/viewer/@id"/> |
110 |
</appinfo> |
120 |
</appInfo> |
111 |
</annotation> |
121 |
</annotation> |
112 |
</attribute> |
122 |
</attribute> |
113 |
</complexType> |
123 |
</complexType> |
114 |
</element> |
124 |
</element> |
115 |
|
125 |
|
116 |
<annotation> |
126 |
<annotation> |
117 |
<appinfo> |
127 |
<appInfo> |
118 |
<meta.section type="examples"/> |
128 |
<meta.section type="examples"/> |
119 |
</appinfo> |
129 |
</appInfo> |
120 |
<documentation> |
130 |
<documentation> |
121 |
The following is an example of compare/merge viewer |
131 |
The following is an example of compare/merge viewer |
122 |
for zip files (extension "zip"): |
132 |
for zip files (extension "zip"): |
Lines 135-143
Link Here
|
135 |
</annotation> |
145 |
</annotation> |
136 |
|
146 |
|
137 |
<annotation> |
147 |
<annotation> |
138 |
<appinfo> |
148 |
<appInfo> |
139 |
<meta.section type="apiInfo"/> |
149 |
<meta.section type="apiInfo"/> |
140 |
</appinfo> |
150 |
</appInfo> |
141 |
<documentation> |
151 |
<documentation> |
142 |
The contributed class must implement <code>org.eclipse.compare.IViewerCreator</code> |
152 |
The contributed class must implement <code>org.eclipse.compare.IViewerCreator</code> |
143 |
</documentation> |
153 |
</documentation> |
Lines 145-153
Link Here
|
145 |
|
155 |
|
146 |
|
156 |
|
147 |
<annotation> |
157 |
<annotation> |
148 |
<appinfo> |
158 |
<appInfo> |
149 |
<meta.section type="implementation"/> |
159 |
<meta.section type="implementation"/> |
150 |
</appinfo> |
160 |
</appInfo> |
151 |
<documentation> |
161 |
<documentation> |
152 |
The Compare UI plugin defines a structure compare |
162 |
The Compare UI plugin defines a structure compare |
153 |
viewer for zip archives. |
163 |
viewer for zip archives. |
Lines 155-165
Link Here
|
155 |
</annotation> |
165 |
</annotation> |
156 |
|
166 |
|
157 |
<annotation> |
167 |
<annotation> |
158 |
<appinfo> |
168 |
<appInfo> |
159 |
<meta.section type="copyright"/> |
169 |
<meta.section type="copyright"/> |
160 |
</appinfo> |
170 |
</appInfo> |
161 |
<documentation> |
171 |
<documentation> |
162 |
Copyright (c) 2000, 2008 IBM Corporation and others.<br> |
172 |
Copyright (c) 2000, 2009 IBM Corporation and others.<br> |
163 |
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
173 |
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
164 |
</documentation> |
174 |
</documentation> |
165 |
</annotation> |
175 |
</annotation> |