Project

General

Profile

Download (37 KB) Statistics
| Branch: | Tag: | Revision:
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="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
9
         <command
10
               commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
11
               label="%command.label.CONNECT"
12
               style="push">
13
         </command>
14
         <command
15
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
16
               label="%command.label.5"
17
               style="push">
18
            <visibleWhen
19
                  checkEnabled="true">
20
               <reference
21
                     definitionId="isUserLoggedIn">
22
               </reference>
23
            </visibleWhen>
24
         </command>
25
         <command
26
               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
27
               label="%command.label.RE_CONNECT"
28
               style="push">
29
            <visibleWhen
30
                  checkEnabled="true">
31
               <reference
32
                     definitionId="isUserLoggedIn">
33
               </reference>
34
            </visibleWhen>
35
         </command>
36
         <command
37
               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
38
               label="%command.label.CHANGE_PASSWORD"
39
               style="push">
40
            <visibleWhen
41
                  checkEnabled="true">
42
               <reference
43
                     definitionId="isUserLoggedIn">
44
               </reference>
45
            </visibleWhen>
46
         </command>
47
         <separator
48
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
49
               visible="true">
50
         </separator>
51
      </menuContribution>
52
      <menuContribution
53
            locationURI="toolbar:org.eclipse.ui.trim.status">
54
         <toolbar
55
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
56
            <control
57
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
58
            </control>
59
         </toolbar>
60
      </menuContribution>
61
   </extension>
62
   <extension
63
         point="org.eclipse.ui.handlers">
64
      <handler
65
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
66
            commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
67
         <activeWhen>
68
            <with
69
                  variable="activePartId">
70
               <equals
71
                     value="eu.etaxonomy.taxeditor.view.datasource">
72
               </equals>
73
            </with>
74
         </activeWhen>
75
      </handler>
76
      <handler
77
            class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
78
            commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
79
      </handler>
80
      <handler
81
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
82
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
83
         <enabledWhen>
84
            <reference
85
                  definitionId="isUserLoggedIn">
86
            </reference></enabledWhen>
87
      </handler>
88
      <handler
89
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
90
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
91
         <activeWhen>
92
            <reference
93
                  definitionId="hasROLE_PROJECT_MANAGER">
94
            </reference>
95
         </activeWhen>
96
      </handler>
97
       <handler
98
            class="eu.etaxonomy.taxeditor.handler.OpenImportPreferenceHandler"
99
            commandId="eu.etaxonomy.taxeditor.store.open.OpenImportPreferenceHandler">
100
            <activeWhen>
101
            <reference
102
                  definitionId="hasROLE_PROJECT_MANAGER">
103
            </reference>
104
         </activeWhen>
105
      </handler>
106
      <handler
107
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
108
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
109
         <activeWhen>
110
            <reference
111
                  definitionId="isRemoting">
112
            </reference>
113
         </activeWhen>
114
      </handler>
115
   </extension>
116
   <extension
117
         name="%extension.name.0"
118
         point="org.eclipse.ui.commands">
119
      <command
120
            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
121
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
122
            name="%command.name.4">
123
      </command>
124
      <command
125
            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
126
            name="%command.name.CONNECT">
127
      </command>
128
      <command
129
            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
130
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
131
            name="%command.name.RE_CONNECT">
132
      </command>
133
      <command
134
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
135
            name="%command.name.10">
136
      </command>
137
      <command
138
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
139
            name="%command.name.11">
140
      </command>
141
      <command
142
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
143
            id="eu.etaxonomy.taxeditor.datasource.connect"
144
            name="%command.name.12">
145
      </command>
146
      <command
147
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
148
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
149
            name="%command.name.INSPECT_ACTIVE_SESSIONS">
150
      </command>
151
      <command
152
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
153
            id="eu.etaxonomy.taxeditor.store.open"
154
            name="%command.name.15">
155
      </command>
156
   </extension>
157
   <extension
158
         point="org.eclipse.ui.commands">
159
      <commandParameterType
160
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
161
            id="eu.etaxonomy.taxeditor.uuidParameterType"
162
            type="java.util.UUID">
163
      </commandParameterType>
164
      <commandParameterType
165
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
166
            id="eu.etaxonomy.taxeditor.uuidsParameterType"
167
            type="java.util.List">
168
      </commandParameterType>
169
   </extension>
170
   <extension
171
         point="org.eclipse.ui.newWizards">
172
      <wizard
173
            category="eu.etaxonomy.taxeditor.new.category.cdm"
174
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
175
            hasPages="true"
176
            id="eu.etaxonomy.taxeditor.new.reference"
177
            name="%wizard.name.10">
178
      </wizard>
179
      <wizard
180
            category="eu.etaxonomy.taxeditor.new.category.cdm"
181
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
182
            hasPages="true"
183
            id="eu.etaxonomy.taxeditor.new.nonViralName"
184
            name="%wizard.name.11">
185
      </wizard>
186
      <wizard
187
            category="eu.etaxonomy.taxeditor.new.category.cdm"
188
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
189
            hasPages="true"
190
            id="eu.etaxonomy.taxeditor.new.team"
191
            name="%wizard.name.12">
192
      </wizard>
193
      <wizard
194
            category="eu.etaxonomy.taxeditor.new.category.cdm"
195
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
196
            hasPages="true"
197
            id="eu.etaxonomy.taxeditor.new.person"
198
            name="%wizard.name.13">
199
      </wizard>
200
      <wizard
201
            category="eu.etaxonomy.taxeditor.new.category.cdm"
202
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
203
            hasPages="true"
204
            id="eu.etaxonomy.taxeditor.new.specimen"
205
            name="%wizard.name.14">
206
      </wizard>
207
      <wizard
208
            category="eu.etaxonomy.taxeditor.new.category.cdm"
209
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
210
            hasPages="true"
211
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
212
            name="%wizard.name.15">
213
      </wizard>
214
      <category
215
            id="eu.etaxonomy.taxeditor.new.category.cdm"
216
            name="%category.name.2">
217
      </category>
218
      <wizard
219
            category="eu.etaxonomy.taxeditor.new.category.cdm"
220
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
221
            hasPages="true"
222
            id="eu.etaxonomy.taxeditor.new.taxonNode"
223
            name="%wizard.name.16">
224
      </wizard>
225
      <wizard
226
            category="eu.etaxonomy.taxeditor.new.category.cdm"
227
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
228
            hasPages="true"
229
            icon="icons/tree_icon_small.jpg"
230
            id="eu.etaxonomy.taxeditor.new.classification"
231
            name="%wizard.name.17">
232
      </wizard>
233
   </extension>
234
<extension
235
            point="org.eclipse.ui.themes">
236
         <themeElementCategory
237
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
238
               label="%themeElementCategory.label">
239
            <description>
240
               %themeElementCategory.description
241
            </description>
242
         </themeElementCategory>
243
         <colorDefinition
244
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
245
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
246
               label="%colorDefinition.label"
247
               value="150,150,150">
248
         </colorDefinition>
249
         <colorDefinition
250
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
251
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
252
               label="%colorDefinition.label.0"
253
               value="0,0,0">
254
         </colorDefinition>
255
         <colorDefinition
256
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
257
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
258
               label="%colorDefinition.label.1"
259
               value="255,255,255">
260
         </colorDefinition>
261
         <colorDefinition
262
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
263
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
264
               label="%colorDefinition.label.2"
265
               value="241,139,18">
266
         </colorDefinition>
267
         <colorDefinition
268
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
269
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
270
               label="%colorDefinition.label.3"
271
               value="150,150,150">
272
         </colorDefinition>
273
         <colorDefinition
274
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
275
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
276
               label="%colorDefinition.label.4"
277
               value="230,230,230">
278
         </colorDefinition>
279
         <themeElementCategory
280
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
281
               label="%themeElementCategory.label.0"
282
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
283
            <description>
284
               %themeElementCategory.description.0
285
            </description>
286
         </themeElementCategory>
287
         <colorDefinition
288
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
289
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
290
               label="%colorDefinition.label.5"
291
               value="230,230,230">
292
         </colorDefinition>
293
         <colorDefinition
294
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
295
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
296
               label="%colorDefinition.label.6"
297
               value="255,255,255">
298
         </colorDefinition>
299
         <themeElementCategory
300
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
301
               label="%themeElementCategory.label.1"
302
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
303
            <description>
304
               %themeElementCategory.description.1
305
            </description>
306
         </themeElementCategory>
307
         <colorDefinition
308
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
309
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
310
               label="%colorDefinition.label.7"
311
               value="220, 220, 220">
312
         </colorDefinition>
313
         <colorDefinition
314
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
315
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
316
               label="%colorDefinition.label.8"
317
               value="232,242,254">
318
         </colorDefinition>
319
         <colorDefinition
320
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
321
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
322
               label="%colorDefinition.label.9"
323
               value="210, 210, 210">
324
         </colorDefinition>
325
         <colorDefinition
326
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
327
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
328
               label="%colorDefinition.label.10"
329
               value="185,255,133">
330
         </colorDefinition>
331
         <fontDefinition
332
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
333
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
334
               label="%fontDefinition.label"
335
               value="Georgia-regular-12">
336
         </fontDefinition>
337
         <fontDefinition
338
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
339
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
340
               label="%fontDefinition.label.0"
341
               value="Georgia-regular-10">
342
         </fontDefinition>
343
         <fontDefinition
344
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
345
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
346
               label="%fontDefinition.label.1"
347
               value="Georgia-regular-10">
348
         </fontDefinition>
349
         <fontDefinition
350
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
351
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
352
               label="%fontDefinition.label.2"
353
               value="Georgia-regular-10">
354
         </fontDefinition>
355
         <fontDefinition
356
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
357
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
358
               label="%fontDefinition.label.3"
359
               value="Georgia-regular-10">
360
         </fontDefinition>
361
         <themeElementCategory
362
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
363
               label="%themeElementCategory.label.2"
364
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
365
            <description>
366
               %themeElementCategory.description.2
367
            </description>
368
         </themeElementCategory>
369
         <colorDefinition
370
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
371
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
372
               label="%colorDefinition.label.11"
373
               value="192, 192, 192">
374
         </colorDefinition>
375
         <colorDefinition
376
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
377
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
378
               label="%colorDefinition.label.12"
379
               value="0, 0, 0">
380
         </colorDefinition>
381
         <fontDefinition
382
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
383
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
384
               isEditable="true"
385
               label="%fontDefinition.label.4"
386
               value="Arial-regular-10">
387
            <description>
388
               %fontDefinition.description
389
            </description>
390
         </fontDefinition>
391
         <fontDefinition
392
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
393
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
394
               isEditable="true"
395
               label="%fontDefinition.label.5"
396
               value="Arial-italic-10">
397
         <description>
398
            %fontDefinition.description.0
399
         </description>
400
      </fontDefinition>
401
      <fontDefinition
402
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
403
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
404
            isEditable="true"
405
            label="%fontDefinition.label.6"
406
            value="Lucida Grande-regular-11">
407
         <description>
408
            %fontDefinition.description.1
409
         </description>
410
      </fontDefinition>
411
      <colorDefinition
412
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
413
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
414
            label="%colorDefinition.label.13"
415
            value="255,0,0">
416
      </colorDefinition>
417
      <colorDefinition
418
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
419
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
420
            label="%colorDefinition.label.14"
421
            value="105,114,124">
422
      </colorDefinition>
423
      <colorDefinition
424
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
425
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
426
            label="%colorDefinition.label.15"
427
            value="255,0,0">
428
      </colorDefinition>
429
      </extension>
430
<extension
431
      point="org.eclipse.core.expressions.propertyTesters">
432
   <propertyTester
433
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
434
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
435
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
436
         properties="isCompatible"
437
         type="org.eclipse.jface.viewers.IStructuredSelection">
438
   </propertyTester>
439
    <propertyTester
440
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
441
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
442
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
443
         properties="test, hasDataModel"
444
         type="org.eclipse.jface.viewers.IStructuredSelection">
445
   </propertyTester>
446
   <propertyTester
447
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
448
         id="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
449
         namespace="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
450
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
451
         type="java.lang.Object">
452
   </propertyTester>
453
   <propertyTester
454
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
455
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
456
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
457
         properties="isModifiable"
458
         type="org.eclipse.jface.viewers.IStructuredSelection">
459
   </propertyTester>
460
   <propertyTester
461
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
462
        id="eu.etaxonomy.taxeditor.security.permissionTester"
463
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
464
        properties="hasPermissions, hasRoles"
465
        type="org.eclipse.jface.viewers.IStructuredSelection">
466
   </propertyTester>
467
</extension>
468
<extension
469
      point="org.eclipse.core.expressions.definitions">
470
   <definition
471
         id="isCompatible">
472
      <with
473
            variable="selection">
474
         <test
475
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
476
         </test>
477
      </with>
478
   </definition>
479
   <definition
480
         id="hasDataModel">
481
      <with
482
            variable="selection">
483
         <test
484
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
485
         </test>
486
      </with>
487
   </definition>
488
   <definition
489
         id="isShowExperimentalFeatures">
490
      <test
491
            property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isShowExperimentalFeatures">
492
      </test>
493
   </definition>
494
   <definition
495
         id="isModifiable">
496
      <with
497
            variable="selection">
498
         <test
499
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
500
         </test>
501
      </with>
502
   </definition>
503
   <definition
504
            id="canUPDATE">
505
        	<with
506
           		variable="selection">
507
	         <test
508
	               args="UPDATE"
509
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
510
	         </test>
511
         </with>
512
      </definition>
513
      <definition
514
            id="canDELETE">
515
         <with
516
               variable="selection">
517
            <test
518
                  args="DELETE"
519
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
520
            </test>
521
         </with>
522
    </definition>
523
      <definition
524
            id="canCREATE">
525
         <with
526
               variable="selection">
527
            <test
528
                  args="CREATE"
529
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
530
            </test>
531
         </with>
532
      </definition>
533
      <definition
534
            id="isUserLoggedIn">
535
            <with
536
               variable="eu.etaxonomy.taxeditor.security.user">
537
               <instanceof
538
                     value="eu.etaxonomy.cdm.model.common.User">
539
               </instanceof>
540
         </with>
541
      </definition>
542
      <definition
543
            id="hasROLE_USER_MANAGER">
544
            <with
545
               variable="eu.etaxonomy.taxeditor.security.userRoles">
546
            <iterate
547
                  ifEmpty="false"
548
                  operator="or">
549
               <or>
550
                  <equals
551
                        value="ROLE_ADMIN">
552
                  </equals>
553
                  <equals
554
                        value="ROLE_USER_MANAGER">
555
                  </equals>
556
               </or>
557
            </iterate>
558
         </with>
559
      </definition>
560
      <definition
561
            id="hasROLE_PROJECT_MANAGER">
562
         <with
563
               variable="eu.etaxonomy.taxeditor.security.userRoles">
564
            <iterate
565
                  ifEmpty="false"
566
                  operator="or">
567
               <or>
568
                  <equals
569
                        value="ROLE_ADMIN">
570
                  </equals>
571
                  <equals
572
                        value="ROLE_PROJECT_MANAGER">
573
                  </equals>
574
               </or>
575
            </iterate>
576
         </with>
577
      </definition>
578
      <definition
579
            id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
580
         <and>
581
            <reference
582
                  definitionId="hasROLE_PROJECT_MANAGER">
583
            </reference>
584
            <reference
585
                  definitionId="isCdmStoreConnected">
586
            </reference>
587
         </and>
588
      </definition>
589
      <definition
590
            id="isChecklistEditorEnabled">
591
         <test
592
               property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isChecklistEditorEnabled">
593
         </test>
594
      </definition>
595
</extension>
596
<extension
597
      point="org.eclipse.ui.activities">
598
   <activity
599
         description="%activity.description"
600
         id="eu.etaxonomy.taxeditor.store.activityDelete"
601
         name="%activity.name">
602
      <enabledWhen>
603
         <reference
604
               definitionId="canDELETE">
605
         </reference>
606
      </enabledWhen>
607
   </activity>
608
   <activityPatternBinding
609
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
610
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
611
   </activityPatternBinding>
612
   <activity
613
         description="%activity.description.0"
614
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
615
         name="%activity.name.0">
616
      <enabledWhen>
617
         <reference
618
               definitionId="canUPDATE">
619
         </reference>
620
      </enabledWhen>
621
   </activity>
622
   <activityPatternBinding
623
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
624
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
625
   </activityPatternBinding>
626
   <activity
627
         description="%activity.description.1"
628
         id="eu.etaxonomy.taxeditor.store.activityCreate"
629
         name="%activity.name.1">
630
      <enabledWhen>
631
         <reference
632
               definitionId="canDELETE">
633
         </reference>
634
      </enabledWhen>
635
   </activity>
636
   <activityPatternBinding
637
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
638
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
639
   </activityPatternBinding>
640
   <activity
641
         description="%activity.description.2"
642
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
643
         name="%activity.name.2">
644
      <enabledWhen>
645
         <reference
646
               definitionId="hasROLE_USER_MANAGER">
647
         </reference>
648
      </enabledWhen>
649
   </activity>
650
   <activityPatternBinding
651
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
652
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
653
   </activityPatternBinding>
654
   <activityPatternBinding
655
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
656
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
657
   </activityPatternBinding>
658
   <activity
659
         description="%activity.description.3"
660
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
661
         name="%activity.name.3">
662
      <enabledWhen>
663
         <reference
664
               definitionId="hasROLE_PROJECT_MANAGER">
665
         </reference>
666
      </enabledWhen>
667
   </activity>
668
   <activityPatternBinding
669
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
670
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
671
   </activityPatternBinding>
672
   <activityPatternBinding
673
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
674
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
675
         isEqualityPattern="true">
676
   </activityPatternBinding>
677
   <activityPatternBinding
678
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
679
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
680
         isEqualityPattern="true">
681
   </activityPatternBinding>
682
</extension>
683
<extension
684
      point="org.eclipse.ui.services">
685
   <sourceProvider
686
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
687
      <variable
688
            name="eu.etaxonomy.taxeditor.security.userRoles"
689
            priorityLevel="workbench">
690
      </variable>
691
   </sourceProvider>
692
</extension>
693
<extension
694
      point="eu.etaxonomy.taxeditor.store.cdmViewer">
695
   <viewCommandMapping
696
         commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
697
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
698
         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
699
   </viewCommandMapping>
700
   <viewCommandMapping
701
         commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
702
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
703
         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
704
   </viewCommandMapping>
705
</extension>
706
<extension
707
      id="eu.etaxonomy.taxeditor.store.workbench.model"
708
      name="Store Workbench Model"
709
      point="org.eclipse.e4.workbench.model">
710
   <fragment
711
         apply="always"
712
         uri="fragment.e4xmi">
713
   </fragment>
714
</extension>
715
<extension
716
      point="eu.etaxonomy.taxeditor.workbench.e4PreferencePages">
717
   <page
718
         category="eu.etaxonomy.taxeditor.preferences.general"
719
         class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
720
         id="eu.etaxonomy.taxeditor.preference.DebugPreferences"
721
         name="%page.name.34">
722
   </page>
723
   <page
724
         class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
725
         id="eu.etaxonomy.taxeditor.preferences.general"
726
         name="%page.name">
727
   </page>
728
   <page
729
         category="eu.etaxonomy.taxeditor.preferences.general"
730
         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
731
         id="eu.etaxonomy.taxeditor.preferences.nameDetails"
732
         name="%page.name.36">
733
   </page>
734
   <page
735
         category="eu.etaxonomy.taxeditor.preferences.general"
736
         class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
737
         id="eu.etaxonomy.taxeditor.preferences.description"
738
         name="%page.name.0">
739
   </page>
740
   <page
741
         category="eu.etaxonomy.taxeditor.preferences.description"
742
         class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
743
         id="eu.etaxonomy.taxeditor.preferences.feature"
744
         name="%page.name.1">
745
   </page>
746
   <page
747
         category="eu.etaxonomy.taxeditor.preferences.description"
748
         class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
749
         id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
750
         name="%page.name.2">
751
   </page>
752
   <page
753
         category="eu.etaxonomy.taxeditor.preferences.general"
754
         class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
755
         id="eu.etaxonomy.taxeditor.preferences.taxonomic"
756
         name="%page.name.3">
757
   </page>
758
   <page
759
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
760
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
761
         id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
762
         name="%page.name.4">
763
   </page>
764
   <page
765
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
766
         class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
767
         id="eu.etaxonomy.taxeditor.preferences.ranks"
768
         name="%page.name.5">
769
   </page>
770
   <page
771
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
772
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
773
         id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
774
         name="%page.name.6">
775
   </page>
776
   <page
777
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
778
         class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
779
         id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
780
         name="%page.name.7">
781
   </page>
782
   <page
783
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
784
         class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
785
         id="taxeditor-store.page1"
786
         name="%page.name.8">
787
   </page>
788
   <page
789
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
790
         class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
791
         id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
792
         name="%page.name.9">
793
   </page>
794
   <page
795
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
796
         class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
797
         id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
798
         name="%page.name.13">
799
   </page>
800
   <page
801
         category="eu.etaxonomy.taxeditor.preferences.language"
802
         class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
803
         id="eu.etaxonomy.taxeditor.preferences.languages"
804
         name="%page.name.10">
805
   </page>
806
   <page
807
         category="eu.etaxonomy.taxeditor.preferences.general"
808
         class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
809
         id="eu.etaxonomy.taxeditor.preferences.markerTypes"
810
         name="%page.name.11">
811
   </page>
812
   <page
813
         category="eu.etaxonomy.taxeditor.preferences.general"
814
         class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
815
         id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
816
         name="%page.name.12">
817
   </page>
818
   <page
819
         category="eu.etaxonomy.taxeditor.preferences.description"
820
         class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
821
         id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
822
         name="%page.name.14">
823
   </page>
824
   <page
825
         category="eu.etaxonomy.taxeditor.preferences.general"
826
         class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
827
         id="eu.etaxonomy.taxeditor.preferences.matching"
828
         name="%page.name.15">
829
   </page>
830
   <page
831
         category="eu.etaxonomy.taxeditor.preferences.matching"
832
         class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
833
         id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
834
         name="%page.name.16">
835
   </page>
836
   <page
837
         category="eu.etaxonomy.taxeditor.preferences.matching"
838
         class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
839
         id="eu.etaxonomy.taxeditor.preferences.matching"
840
         name="%page.name.17">
841
   </page>
842
   <page
843
         category="eu.etaxonomy.taxeditor.preferences.matching"
844
         class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
845
         id="eu.etaxonomy.taxeditor.preferences.matching"
846
         name="%page.name.18">
847
   </page>
848
   <page
849
         category="eu.etaxonomy.taxeditor.preferences.description"
850
         class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
851
         id="eu.etaxonomy.taxeditor.preferences.stage"
852
         name="%page.name.19">
853
   </page>
854
   <page
855
         category="eu.etaxonomy.taxeditor.preferences.description"
856
         class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
857
         id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
858
         name="%page.name.20">
859
   </page>
860
   <page
861
         category="eu.etaxonomy.taxeditor.preferences.feature"
862
         class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
863
         id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
864
         name="%page.name.22">
865
   </page>
866
   <page
867
         category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
868
         class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
869
         id="eu.etaxonomy.taxeditor.preferences.language"
870
         name="%page.name.23">
871
   </page>
872
   <page
873
         category="eu.etaxonomy.taxeditor.preferences.general"
874
         class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
875
         id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
876
         name="%page.name.24">
877
   </page>
878
   <page
879
         category="eu.etaxonomy.taxeditor.preferences.general"
880
         class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
881
         id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
882
         name="%page.name.25">
883
   </page>
884
   <page
885
         category="eu.etaxonomy.taxeditor.preferences.general"
886
         class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
887
         id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
888
         name="%page.name.26">
889
   </page>
890
   <page
891
         category="eu.etaxonomy.taxeditor.preferences.general"
892
         class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
893
         id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
894
         name="%page.name.27">
895
   </page>
896
   <page
897
         category="eu.etaxonomy.taxeditor.preferences.general"
898
         class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
899
         id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
900
         name="%page.name.28">
901
   </page>
902
   <page
903
         category="eu.etaxonomy.taxeditor.preferences.general"
904
         class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
905
         id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
906
         name="%page.name.30">
907
   </page>
908
   <page
909
         category="eu.etaxonomy.taxeditor.preferences.general"
910
         class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
911
         id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
912
         name="%page.name.32">
913
   </page>
914
</extension>
915
</plugin>
(6-6/7)