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