minor
[taxeditor.git] / eu.etaxonomy.taxeditor.store / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension-point id="eu.etaxonomy.taxeditor.store.cdmViewer" name="Cdm Viewer" schema="schema/eu.etaxonomy.taxeditor.store.cdmViewer.exsd"/>
5 <extension-point id="eu.etaxonomy.taxeditor.store.preferencePage" name="Preference Page" schema="schema/eu.etaxonomy.taxeditor.store.preferencePage.exsd"/>
6 <extension
7 point="org.eclipse.ui.menus">
8 <menuContribution
9 locationURI="toolbar:org.eclipse.ui.trim.status">
10 <toolbar
11 id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
12 <control
13 class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
14 </control>
15 </toolbar>
16 </menuContribution>
17 </extension>
18 <extension
19 point="org.eclipse.ui.newWizards">
20 <wizard
21 category="eu.etaxonomy.taxeditor.new.category.cdm"
22 class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
23 hasPages="true"
24 id="eu.etaxonomy.taxeditor.new.reference"
25 name="%wizard.name.10">
26 </wizard>
27 <wizard
28 category="eu.etaxonomy.taxeditor.new.category.cdm"
29 class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
30 hasPages="true"
31 id="eu.etaxonomy.taxeditor.new.nonViralName"
32 name="%wizard.name.11">
33 </wizard>
34 <wizard
35 category="eu.etaxonomy.taxeditor.new.category.cdm"
36 class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
37 hasPages="true"
38 id="eu.etaxonomy.taxeditor.new.team"
39 name="%wizard.name.12">
40 </wizard>
41 <wizard
42 category="eu.etaxonomy.taxeditor.new.category.cdm"
43 class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
44 hasPages="true"
45 id="eu.etaxonomy.taxeditor.new.person"
46 name="%wizard.name.13">
47 </wizard>
48 <wizard
49 category="eu.etaxonomy.taxeditor.new.category.cdm"
50 class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
51 hasPages="true"
52 id="eu.etaxonomy.taxeditor.new.specimen"
53 name="%wizard.name.14">
54 </wizard>
55 <wizard
56 category="eu.etaxonomy.taxeditor.new.category.cdm"
57 class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
58 hasPages="true"
59 id="eu.etaxonomy.taxeditor.new.key.polytomous"
60 name="%wizard.name.15">
61 </wizard>
62 <category
63 id="eu.etaxonomy.taxeditor.new.category.cdm"
64 name="%category.name.2">
65 </category>
66 <wizard
67 category="eu.etaxonomy.taxeditor.new.category.cdm"
68 class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
69 hasPages="true"
70 id="eu.etaxonomy.taxeditor.new.taxonNode"
71 name="%wizard.name.16">
72 </wizard>
73 <wizard
74 category="eu.etaxonomy.taxeditor.new.category.cdm"
75 class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
76 hasPages="true"
77 icon="icons/tree_icon_small.jpg"
78 id="eu.etaxonomy.taxeditor.new.classification"
79 name="%wizard.name.17">
80 </wizard>
81 </extension>
82 <extension
83 point="org.eclipse.core.expressions.propertyTesters">
84 <propertyTester
85 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
86 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
87 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
88 properties="isCompatible"
89 type="org.eclipse.jface.viewers.IStructuredSelection">
90 </propertyTester>
91 <propertyTester
92 class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
93 id="eu.etaxonomy.taxeditor.datasource.propertyTester"
94 namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
95 properties="test, hasDataModel"
96 type="org.eclipse.jface.viewers.IStructuredSelection">
97 </propertyTester>
98 <propertyTester
99 class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
100 id="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
101 namespace="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
102 properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
103 type="java.lang.Object">
104 </propertyTester>
105 <propertyTester
106 class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
107 id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
108 namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
109 properties="isModifiable"
110 type="org.eclipse.jface.viewers.IStructuredSelection">
111 </propertyTester>
112 <propertyTester
113 class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
114 id="eu.etaxonomy.taxeditor.security.permissionTester"
115 namespace="eu.etaxonomy.taxeditor.security.permissionTester"
116 properties="hasPermissions, hasRoles"
117 type="org.eclipse.jface.viewers.IStructuredSelection">
118 </propertyTester>
119 </extension>
120 <extension
121 point="org.eclipse.core.expressions.definitions">
122 <definition
123 id="isCompatible">
124 <with
125 variable="selection">
126 <test
127 property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
128 </test>
129 </with>
130 </definition>
131 <definition
132 id="hasDataModel">
133 <with
134 variable="selection">
135 <test
136 property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
137 </test>
138 </with>
139 </definition>
140 <definition
141 id="isShowExperimentalFeatures">
142 <test
143 property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isShowExperimentalFeatures">
144 </test>
145 </definition>
146 <definition
147 id="isModifiable">
148 <with
149 variable="selection">
150 <test
151 property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
152 </test>
153 </with>
154 </definition>
155 <definition
156 id="canUPDATE">
157 <with
158 variable="selection">
159 <test
160 args="UPDATE"
161 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
162 </test>
163 </with>
164 </definition>
165 <definition
166 id="canDELETE">
167 <with
168 variable="selection">
169 <test
170 args="DELETE"
171 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
172 </test>
173 </with>
174 </definition>
175 <definition
176 id="canCREATE">
177 <with
178 variable="selection">
179 <test
180 args="CREATE"
181 property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
182 </test>
183 </with>
184 </definition>
185 <definition
186 id="isUserLoggedIn">
187 <with
188 variable="eu.etaxonomy.taxeditor.security.user">
189 <instanceof
190 value="eu.etaxonomy.cdm.model.common.User">
191 </instanceof>
192 </with>
193 </definition>
194 <definition
195 id="hasROLE_USER_MANAGER">
196 <with
197 variable="eu.etaxonomy.taxeditor.security.userRoles">
198 <iterate
199 ifEmpty="false"
200 operator="or">
201 <or>
202 <equals
203 value="ROLE_ADMIN">
204 </equals>
205 <equals
206 value="ROLE_USER_MANAGER">
207 </equals>
208 </or>
209 </iterate>
210 </with>
211 </definition>
212 <definition
213 id="hasROLE_PROJECT_MANAGER">
214 <with
215 variable="eu.etaxonomy.taxeditor.security.userRoles">
216 <iterate
217 ifEmpty="false"
218 operator="or">
219 <or>
220 <equals
221 value="ROLE_ADMIN">
222 </equals>
223 <equals
224 value="ROLE_PROJECT_MANAGER">
225 </equals>
226 </or>
227 </iterate>
228 </with>
229 </definition>
230 <definition
231 id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
232 <and>
233 <reference
234 definitionId="hasROLE_PROJECT_MANAGER">
235 </reference>
236 <reference
237 definitionId="isCdmStoreConnected">
238 </reference>
239 </and>
240 </definition>
241 <definition
242 id="isChecklistEditorEnabled">
243 <test
244 property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isChecklistEditorEnabled">
245 </test>
246 </definition>
247 </extension>
248 <extension
249 point="org.eclipse.ui.activities">
250 <activity
251 description="%activity.description"
252 id="eu.etaxonomy.taxeditor.store.activityDelete"
253 name="%activity.name">
254 <enabledWhen>
255 <reference
256 definitionId="canDELETE">
257 </reference>
258 </enabledWhen>
259 </activity>
260 <activityPatternBinding
261 activityId="eu.etaxonomy.taxeditor.store.activityDelete"
262 pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
263 </activityPatternBinding>
264 <activity
265 description="%activity.description.0"
266 id="eu.etaxonomy.taxeditor.store.activityUpdate"
267 name="%activity.name.0">
268 <enabledWhen>
269 <reference
270 definitionId="canUPDATE">
271 </reference>
272 </enabledWhen>
273 </activity>
274 <activityPatternBinding
275 activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
276 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
277 </activityPatternBinding>
278 <activity
279 description="%activity.description.1"
280 id="eu.etaxonomy.taxeditor.store.activityCreate"
281 name="%activity.name.1">
282 <enabledWhen>
283 <reference
284 definitionId="canDELETE">
285 </reference>
286 </enabledWhen>
287 </activity>
288 <activityPatternBinding
289 activityId="eu.etaxonomy.taxeditor.store.activityCreate"
290 pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
291 </activityPatternBinding>
292 <activity
293 description="%activity.description.2"
294 id="eu.etaxonomy.taxeditor.store.activityUserManagement"
295 name="%activity.name.2">
296 <enabledWhen>
297 <reference
298 definitionId="hasROLE_USER_MANAGER">
299 </reference>
300 </enabledWhen>
301 </activity>
302 <activityPatternBinding
303 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
304 pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
305 </activityPatternBinding>
306 <activityPatternBinding
307 activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
308 pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
309 </activityPatternBinding>
310 <activity
311 description="%activity.description.3"
312 id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
313 name="%activity.name.3">
314 <enabledWhen>
315 <reference
316 definitionId="hasROLE_PROJECT_MANAGER">
317 </reference>
318 </enabledWhen>
319 </activity>
320 <activityPatternBinding
321 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
322 pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
323 </activityPatternBinding>
324 <activityPatternBinding
325 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
326 pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
327 isEqualityPattern="true">
328 </activityPatternBinding>
329 <activityPatternBinding
330 activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
331 pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
332 isEqualityPattern="true">
333 </activityPatternBinding>
334 </extension>
335 <extension
336 point="org.eclipse.ui.services">
337 <sourceProvider
338 provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
339 <variable
340 name="eu.etaxonomy.taxeditor.security.userRoles"
341 priorityLevel="workbench">
342 </variable>
343 </sourceProvider>
344 </extension>
345 <extension
346 point="eu.etaxonomy.taxeditor.store.cdmViewer">
347 <viewCommandMapping
348 commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
349 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
350 viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
351 </viewCommandMapping>
352 <viewCommandMapping
353 commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
354 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
355 viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
356 </viewCommandMapping>
357 </extension>
358 <extension
359 id="eu.etaxonomy.taxeditor.store.workbench.model"
360 name="Store Workbench Model"
361 point="org.eclipse.e4.workbench.model">
362 <fragment
363 apply="always"
364 uri="fragment.e4xmi">
365 </fragment>
366 </extension>
367 <extension
368 point="eu.etaxonomy.taxeditor.store.preferencePage">
369 <page
370 category="eu.etaxonomy.taxeditor.preferences.general"
371 class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
372 id="eu.etaxonomy.taxeditor.preference.DebugPreferences"
373 name="%page.name.34">
374 </page>
375 <page
376 class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
377 id="eu.etaxonomy.taxeditor.preferences.general"
378 name="%page.name">
379 </page>
380 <page
381 category="eu.etaxonomy.taxeditor.preferences.general"
382 class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
383 id="eu.etaxonomy.taxeditor.preferences.nameDetails"
384 name="%page.name.36">
385 </page>
386 <page
387 category="eu.etaxonomy.taxeditor.preferences.general"
388 class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
389 id="eu.etaxonomy.taxeditor.preferences.description"
390 name="%page.name.0">
391 </page>
392 <page
393 category="eu.etaxonomy.taxeditor.preferences.description"
394 class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
395 id="eu.etaxonomy.taxeditor.preferences.feature"
396 name="%page.name.1">
397 </page>
398 <page
399 category="eu.etaxonomy.taxeditor.preferences.description"
400 class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
401 id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
402 name="%page.name.2">
403 </page>
404 <page
405 category="eu.etaxonomy.taxeditor.preferences.general"
406 class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
407 id="eu.etaxonomy.taxeditor.preferences.taxonomic"
408 name="%page.name.3">
409 </page>
410 <page
411 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
412 class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
413 id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
414 name="%page.name.4">
415 </page>
416 <page
417 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
418 class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
419 id="eu.etaxonomy.taxeditor.preferences.ranks"
420 name="%page.name.5">
421 </page>
422 <page
423 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
424 class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
425 id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
426 name="%page.name.6">
427 </page>
428 <page
429 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
430 class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
431 id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
432 name="%page.name.7">
433 </page>
434 <page
435 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
436 class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
437 id="taxeditor-store.page1"
438 name="%page.name.8">
439 </page>
440 <page
441 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
442 class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
443 id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
444 name="%page.name.9">
445 </page>
446 <page
447 category="eu.etaxonomy.taxeditor.preferences.taxonomic"
448 class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
449 id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
450 name="%page.name.13">
451 </page>
452 <page
453 category="eu.etaxonomy.taxeditor.preferences.language"
454 class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
455 id="eu.etaxonomy.taxeditor.preferences.languages"
456 name="%page.name.10">
457 </page>
458 <page
459 category="eu.etaxonomy.taxeditor.preferences.general"
460 class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
461 id="eu.etaxonomy.taxeditor.preferences.markerTypes"
462 name="%page.name.11">
463 </page>
464 <page
465 category="eu.etaxonomy.taxeditor.preferences.general"
466 class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
467 id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
468 name="%page.name.12">
469 </page>
470 <page
471 category="eu.etaxonomy.taxeditor.preferences.description"
472 class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
473 id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
474 name="%page.name.14">
475 </page>
476 <page
477 category="eu.etaxonomy.taxeditor.preferences.general"
478 class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
479 id="eu.etaxonomy.taxeditor.preferences.matching"
480 name="%page.name.15">
481 </page>
482 <page
483 category="eu.etaxonomy.taxeditor.preferences.matching"
484 class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
485 id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
486 name="%page.name.16">
487 </page>
488 <page
489 category="eu.etaxonomy.taxeditor.preferences.matching"
490 class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
491 id="eu.etaxonomy.taxeditor.preferences.matching"
492 name="%page.name.17">
493 </page>
494 <page
495 category="eu.etaxonomy.taxeditor.preferences.matching"
496 class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
497 id="eu.etaxonomy.taxeditor.preferences.matching"
498 name="%page.name.18">
499 </page>
500 <page
501 category="eu.etaxonomy.taxeditor.preferences.description"
502 class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
503 id="eu.etaxonomy.taxeditor.preferences.stage"
504 name="%page.name.19">
505 </page>
506 <page
507 category="eu.etaxonomy.taxeditor.preferences.description"
508 class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
509 id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
510 name="%page.name.20">
511 </page>
512 <page
513 category="eu.etaxonomy.taxeditor.preferences.feature"
514 class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
515 id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
516 name="%page.name.22">
517 </page>
518 <page
519 category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
520 class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
521 id="eu.etaxonomy.taxeditor.preferences.language"
522 name="%page.name.23">
523 </page>
524 <page
525 category="eu.etaxonomy.taxeditor.preferences.general"
526 class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
527 id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
528 name="%page.name.24">
529 </page>
530 <page
531 category="eu.etaxonomy.taxeditor.preferences.general"
532 class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
533 id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
534 name="%page.name.25">
535 </page>
536 <page
537 category="eu.etaxonomy.taxeditor.preferences.general"
538 class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
539 id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
540 name="%page.name.26">
541 </page>
542 <page
543 category="eu.etaxonomy.taxeditor.preferences.general"
544 class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
545 id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
546 name="%page.name.27">
547 </page>
548 <page
549 category="eu.etaxonomy.taxeditor.preferences.general"
550 class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
551 id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
552 name="%page.name.28">
553 </page>
554 <page
555 category="eu.etaxonomy.taxeditor.preferences.general"
556 class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
557 id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
558 name="%page.name.30">
559 </page>
560 <page
561 category="eu.etaxonomy.taxeditor.preferences.general"
562 class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
563 id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
564 name="%page.name.32">
565 </page>
566 </extension>
567 </plugin>