Project

General

Profile

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