|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.0"?> |
|
3 |
|
4 <!-- |
|
5 <copyright> |
|
6 </copyright> |
|
7 |
|
8 $Id$ |
|
9 --> |
|
10 |
|
11 <plugin> |
|
12 |
|
13 <extension point="org.eclipse.emf.ecore.generated_package"> |
|
14 <package |
|
15 uri = "http://www.s60.com/xml/confml/1" |
|
16 class = "configurationemf.ConfigurationemfPackage" |
|
17 genModel = "model/configurationEMF.genmodel" /> |
|
18 </extension> |
|
19 <extension |
|
20 point="org.eclipse.core.runtime.contentTypes"> |
|
21 <content-type |
|
22 base-type="org.eclipse.core.runtime.xml" |
|
23 default-charset="ASCII" |
|
24 file-extensions="confml" |
|
25 id="confml" |
|
26 name="S60 Configuration Tool" |
|
27 priority="high"/> |
|
28 </extension> |
|
29 <extension |
|
30 point="org.eclipse.emf.validation.constraintProviders"> |
|
31 <constraintProvider |
|
32 cache="true"> |
|
33 <package |
|
34 namespaceUri="http://www.s60.com/xml/confml/1"> |
|
35 </package> |
|
36 <constraints |
|
37 categories="general.validation"> |
|
38 <constraint |
|
39 class="configurationemf.validation.SettingRefConstraint" |
|
40 id="setting.ref" |
|
41 lang="Java" |
|
42 name="Setting Ref Validation" |
|
43 severity="ERROR" |
|
44 statusCode="1"> |
|
45 <message> |
|
46 {0} |
|
47 </message> |
|
48 <target |
|
49 class="Setting"> |
|
50 </target> |
|
51 </constraint> |
|
52 <constraint |
|
53 class="configurationemf.validation.SettingRequiredConstraint" |
|
54 id="setting.required" |
|
55 lang="Java" |
|
56 name="Setting Required Validation" |
|
57 severity="ERROR" |
|
58 statusCode="1"> |
|
59 <message> |
|
60 {0} |
|
61 </message> |
|
62 <target |
|
63 class="Setting"> |
|
64 </target> |
|
65 </constraint> |
|
66 <constraint |
|
67 class="configurationemf.validation.SettingTypeConstraint" |
|
68 id="setting.type" |
|
69 lang="Java" |
|
70 name="Setting Type Validation" |
|
71 severity="ERROR" |
|
72 statusCode="1"> |
|
73 <message> |
|
74 {0} |
|
75 </message> |
|
76 <target |
|
77 class="Setting"> |
|
78 </target> |
|
79 </constraint> |
|
80 <constraint |
|
81 class="configurationemf.validation.SettingOptionConstraint" |
|
82 id="setting.option" |
|
83 lang="Java" |
|
84 name="Option Validation" |
|
85 severity="ERROR" |
|
86 statusCode="1"> |
|
87 <message> |
|
88 {0} |
|
89 </message> |
|
90 <target |
|
91 class="Setting"> |
|
92 </target> |
|
93 </constraint> |
|
94 <constraint |
|
95 class="configurationemf.validation.SettingNameWarning" |
|
96 id="setting.name.warning" |
|
97 lang="Java" |
|
98 name="Setting Name Warning" |
|
99 severity="WARNING" |
|
100 statusCode="1"> |
|
101 <message> |
|
102 {0} |
|
103 </message> |
|
104 <target |
|
105 class="Setting"> |
|
106 </target> |
|
107 </constraint> |
|
108 <constraint |
|
109 class="configurationemf.validation.SettingTypeInfo" |
|
110 id="com.nokia.S60CT.constraint1" |
|
111 lang="Java" |
|
112 name="Setting Type Info" |
|
113 severity="INFO" |
|
114 statusCode="1"> |
|
115 <message> |
|
116 {0} |
|
117 </message> |
|
118 <target |
|
119 class="Setting"> |
|
120 </target> |
|
121 </constraint> |
|
122 <constraint |
|
123 class="configurationemf.validation.SettingNameConstraint" |
|
124 id="setting.name.error" |
|
125 lang="Java" |
|
126 name="Setting Name Validation" |
|
127 severity="ERROR" |
|
128 statusCode="1"> |
|
129 <message> |
|
130 {0} |
|
131 </message> |
|
132 </constraint> |
|
133 <constraint |
|
134 class="configurationemf.validation.SettingDescriptionMissing" |
|
135 id="setting.desc.missing" |
|
136 lang="Java" |
|
137 name="Setting Description Missing" |
|
138 severity="WARNING" |
|
139 statusCode="1"> |
|
140 <message> |
|
141 {0} |
|
142 </message> |
|
143 <target |
|
144 class="Setting"> |
|
145 </target> |
|
146 <target |
|
147 class="Frame"> |
|
148 </target> |
|
149 </constraint> |
|
150 <constraint |
|
151 class="configurationemf.validation.SettingNameEqualsRef" |
|
152 id="setting.name.equals.ref" |
|
153 lang="Java" |
|
154 name="Setting Name Equals Ref" |
|
155 severity="WARNING" |
|
156 statusCode="1"> |
|
157 <message> |
|
158 {0} |
|
159 </message> |
|
160 <target |
|
161 class="Setting"> |
|
162 </target> |
|
163 <target |
|
164 class="Frame"> |
|
165 </target> |
|
166 </constraint> |
|
167 </constraints> |
|
168 <constraints |
|
169 categories="general.validation"> |
|
170 <constraint |
|
171 class="configurationemf.validation.FeatureRefConstraint" |
|
172 id="feature.ref" |
|
173 lang="Java" |
|
174 name="Feature Ref Validation" |
|
175 severity="ERROR" |
|
176 statusCode="1"> |
|
177 <message> |
|
178 {0} |
|
179 </message> |
|
180 <target |
|
181 class="Feature"> |
|
182 </target> |
|
183 </constraint> |
|
184 <constraint |
|
185 class="configurationemf.validation.FeatureDuplicateSettingNamesWarning" |
|
186 id="feature.duplicate.setting.name" |
|
187 lang="Java" |
|
188 name="Feature Duplicate Setting Name" |
|
189 severity="WARNING" |
|
190 statusCode="1"> |
|
191 <message> |
|
192 {0} |
|
193 </message> |
|
194 <target |
|
195 class="Feature"> |
|
196 </target> |
|
197 </constraint> |
|
198 <constraint |
|
199 class="configurationemf.validation.FeatureNameWarning" |
|
200 id="feature.name.warning" |
|
201 lang="Java" |
|
202 name="Feature Name Warning" |
|
203 severity="WARNING" |
|
204 statusCode="1"> |
|
205 <message> |
|
206 {0} |
|
207 </message> |
|
208 <target |
|
209 class="Feature"> |
|
210 </target> |
|
211 </constraint></constraints> |
|
212 <constraints |
|
213 categories="general.validation"> |
|
214 <constraint |
|
215 class="configurationemf.validation.ConfigurationFeatureRefConstraint" |
|
216 id="configuration.feature.ref.is.uniq" |
|
217 lang="Java" |
|
218 name="Configuration Feature Ref Validation" |
|
219 severity="ERROR" |
|
220 statusCode="1"> |
|
221 <message> |
|
222 {0} |
|
223 </message> |
|
224 <target |
|
225 class="Configuration"> |
|
226 </target> |
|
227 </constraint> |
|
228 <constraint |
|
229 class="configurationemf.validation.ConfigurationDuplicateFeatureNamesWarning" |
|
230 id="configuration.duplicate.feature.name" |
|
231 lang="Java" |
|
232 name="Configuration Duplicate Feature Name" |
|
233 severity="WARNING" |
|
234 statusCode="1"> |
|
235 <message> |
|
236 {0} |
|
237 </message> |
|
238 <target |
|
239 class="Configuration"> |
|
240 </target> |
|
241 </constraint> |
|
242 <constraint |
|
243 class="configurationemf.validation.ConfigurationNameWarning" |
|
244 id="configuration.name.warning" |
|
245 lang="Java" |
|
246 name="Configuration Name Warning" |
|
247 severity="WARNING" |
|
248 statusCode="1"> |
|
249 <message> |
|
250 {0} |
|
251 </message> |
|
252 <target |
|
253 class="Configuration"> |
|
254 </target> |
|
255 </constraint> |
|
256 <constraint |
|
257 class="configurationemf.validation.ConfigurationMissingSetting" |
|
258 id="configuration.missing.setting" |
|
259 lang="Java" |
|
260 name="Configuration Missing Setting" |
|
261 severity="ERROR" |
|
262 statusCode="1"> |
|
263 <message> |
|
264 {0} |
|
265 </message> |
|
266 <target |
|
267 class="Configuration"> |
|
268 </target> |
|
269 </constraint> |
|
270 </constraints> |
|
271 <constraints |
|
272 categories="general.validation"> |
|
273 <constraint |
|
274 class="variantdata.validation.VariantDataChainBroken" |
|
275 id="VariantData.chain.broken" |
|
276 lang="JAVA" |
|
277 name="Variantdata chain broken Validation" |
|
278 severity="ERROR" |
|
279 statusCode="1"> |
|
280 <message> |
|
281 {0} |
|
282 </message> |
|
283 <target |
|
284 class="Configuration"> |
|
285 </target> |
|
286 </constraint> |
|
287 <constraint |
|
288 class="variantdata.validation.VariantDataBroken" |
|
289 id="VariantData.Broken" |
|
290 lang="JAVA" |
|
291 name="VariantData Broken" |
|
292 severity="ERROR" |
|
293 statusCode="1"> |
|
294 <message> |
|
295 {0} |
|
296 </message> |
|
297 <target |
|
298 class="Configuration"> |
|
299 </target> |
|
300 </constraint> |
|
301 <constraint |
|
302 class="variantdata.validation.ExtraRefsInVariantData" |
|
303 id="VariantData.has.Extra.Refs" |
|
304 lang="JAVA" |
|
305 name="VariantData has extra Refs" |
|
306 severity="WARNING" |
|
307 statusCode="1"> |
|
308 <message> |
|
309 {0} |
|
310 </message> |
|
311 <target |
|
312 class="Configuration"> |
|
313 </target> |
|
314 </constraint> |
|
315 </constraints> |
|
316 </constraintProvider> |
|
317 <category |
|
318 id="setting.validation" |
|
319 name="Setting Validation"> |
|
320 </category> |
|
321 <category |
|
322 id="feature.validation" |
|
323 name="Feature Validation"> |
|
324 </category> |
|
325 <category |
|
326 id="configuration.validation" |
|
327 name="Configuration Validation"> |
|
328 </category> |
|
329 <category |
|
330 id="VariantData.validation" |
|
331 name="VariantData Validation"> |
|
332 </category> |
|
333 </extension> |
|
334 <extension |
|
335 point="org.eclipse.emf.validation.constraintBindings"> |
|
336 <clientContext |
|
337 id="alwaysTrue"> |
|
338 <selector |
|
339 class="configurationemf.validation.selector.CSelector"> |
|
340 </selector> |
|
341 </clientContext> |
|
342 <binding |
|
343 category="setting.validation" |
|
344 context="alwaysTrue"> |
|
345 </binding> |
|
346 <binding |
|
347 category="feature.validation" |
|
348 context="alwaysTrue"> |
|
349 </binding> |
|
350 <binding |
|
351 category="configuration.validation" |
|
352 context="alwaysTrue"> |
|
353 </binding> |
|
354 </extension> |
|
355 <extension |
|
356 point="org.eclipse.emf.validation.traversal"> |
|
357 <traversalStrategy |
|
358 class="configurationemf.validation.ATraversalStrategy" |
|
359 namespaceUri="http://www.s60.com/xml/confml/1"> |
|
360 <eclass |
|
361 name="Configuration"> |
|
362 </eclass> |
|
363 </traversalStrategy> |
|
364 </extension> |
|
365 |
|
366 </plugin> |
|
367 |