Project

General

Profile

Download (48.3 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.2"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.preferencePages">
6
      <page
7
            class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
8
            id="eu.etaxonomy.taxeditor.preferences.general"
9
            name="Taxonomic Editor">
10
      </page>
11
      <page
12
            category="eu.etaxonomy.taxeditor.preferences.general"
13
            class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
14
            id="eu.etaxonomy.taxeditor.preferences.description"
15
            name="Description">
16
      </page>
17
      <page
18
            category="eu.etaxonomy.taxeditor.preferences.description"
19
            class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
20
            id="eu.etaxonomy.taxeditor.preferences.feature"
21
            name="Features">
22
      </page>
23
      <page
24
            category="eu.etaxonomy.taxeditor.preferences.description"
25
            class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
26
            id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
27
            name="Distribution Status">
28
      </page>
29
      <page
30
            category="eu.etaxonomy.taxeditor.preferences.general"
31
            class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
32
            id="eu.etaxonomy.taxeditor.preferences.taxonomic"
33
            name="Taxonomic">
34
      </page>
35
      <page
36
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
37
            class="eu.etaxonomy.taxeditor.preference.NomenclaturalCodePreferences"
38
            id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
39
            name="Nomenclatural Code">
40
      </page>
41
      <!--page
42
            class="eu.etaxonomy.taxeditor.store.preference.CdmPreferences"
43
            id="eu.etaxonomy.taxeditor.preferences.cdm"
44
            name="CDM Datastore">
45
      </page>
46
      <page
47
            category="eu.etaxonomy.taxeditor.preferences.cdm"
48
            class="eu.etaxonomy.taxeditor.store.preference.InitializeDbPreferences"
49
            id="eu.etaxonomy.taxeditor.preferences.initdb"
50
            name="Initialize Datastore">
51
      </page-->
52
      <page
53
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
54
            class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
55
            id="eu.etaxonomy.taxeditor.preferences.ranks"
56
            name="Ranks">
57
      </page>
58
      <page
59
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
60
            class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
61
            id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
62
            name="Nomenclatural Status Type">
63
      </page>
64
      <page
65
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
66
            class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
67
            id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
68
            name="Name Relationship Type">
69
      </page>
70
      <page
71
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
72
            class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
73
            id="taxeditor-store.page1"
74
            name="Taxon Relationship Type">
75
      </page>
76
      <page
77
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
78
            class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
79
            id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
80
            name="Specimen Type Designation Status">
81
      </page>
82
      <page
83
            category="eu.etaxonomy.taxeditor.preferences.language"
84
            class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
85
            id="eu.etaxonomy.taxeditor.preferences.languages"
86
            name="Available Languages">
87
      </page>
88
      <page
89
            category="eu.etaxonomy.taxeditor.preferences.general"
90
            class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
91
            id="eu.etaxonomy.taxeditor.preferences.markerTypes"
92
            name="Marker Types">
93
      </page>
94
      <page
95
            category="eu.etaxonomy.taxeditor.preferences.general"
96
            class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
97
            id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
98
            name="Extension Types">
99
      </page>
100
      <page
101
            category="eu.etaxonomy.taxeditor.preferences.taxonomic"
102
            class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
103
            id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
104
            name="Name Type Designation Status">
105
      </page>
106
      <page
107
            category="eu.etaxonomy.taxeditor.preferences.description"
108
            class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
109
            id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
110
            name="Named Area Type">
111
      </page>
112
      <page
113
            category="eu.etaxonomy.taxeditor.preferences.general"
114
            class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
115
            id="eu.etaxonomy.taxeditor.preferences.matching"
116
            name="Matching (Experimental)">
117
      </page>
118
      <page
119
            category="eu.etaxonomy.taxeditor.preferences.matching"
120
            class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
121
            id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
122
            name="NonViralName Matching Strategy">
123
      </page>
124
      <page
125
            category="eu.etaxonomy.taxeditor.preferences.matching"
126
            class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
127
            id="eu.etaxonomy.taxeditor.preferences.matching"
128
            name="Reference Matching Strategy">
129
      </page>
130
      <page
131
            category="eu.etaxonomy.taxeditor.preferences.matching"
132
            class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
133
            id="eu.etaxonomy.taxeditor.preferences.matching"
134
            name="Team or Person Matching Strategy">
135
      </page>
136
      <page
137
            category="eu.etaxonomy.taxeditor.preferences.description"
138
            class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
139
            id="eu.etaxonomy.taxeditor.preferences.stage"
140
            name="Stage">
141
      </page>
142
      <page
143
            category="eu.etaxonomy.taxeditor.preferences.description"
144
            class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
145
            id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
146
            name="Preservation Method">
147
      </page>
148
      <page
149
            category="eu.etaxonomy.taxeditor.preferences.feature"
150
            class="eu.etaxonomy.taxeditor.preference.FeatureTreePreferences"
151
            id="eu.etaxonomy.taxeditor.preferences.featureTree"
152
            name="Feature Tree">
153
      </page>
154
      <page
155
            category="eu.etaxonomy.taxeditor.preferences.feature"
156
            class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
157
            id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
158
            name="Default Feature Trees">
159
      </page>
160
      <page
161
            category="eu.etaxonomy.taxeditor.preferences.general"
162
            class="eu.etaxonomy.taxeditor.preference.LanguagePreferencePage"
163
            id="eu.etaxonomy.taxeditor.preferences.language"
164
            name="Language">
165
      </page>
166
      <page
167
            category="eu.etaxonomy.taxeditor.preferences.general"
168
            class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
169
            id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
170
            name="Mobot Open Url">
171
      </page>
172
      <page
173
            category="eu.etaxonomy.taxeditor.preferences.general"
174
            class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
175
            id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
176
            name="Type Designations">
177
      </page>
178
      <page
179
            category="eu.etaxonomy.taxeditor.preferences.general"
180
            class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
181
            id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
182
            name="Specimens and FieldUnits">
183
      </page>
184
   </extension>
185
   <extension
186
         point="org.eclipse.ui.views">
187
      <view
188
            class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
189
            icon="icons/system-file-manager.png"
190
            id="eu.etaxonomy.taxeditor.view.datasource"
191
            name="Datasource"
192
            restorable="true">
193
      </view>
194
      <view  
195
			name="Progress View"  
196
   			category="org.eclipse.ui"  
197
			class="org.eclipse.ui.ExtensionFactory:progressView"  
198
			id="org.eclipse.ui.views.ProgressView">  
199
		</view>
200
		<view  
201
			name="Message View"  
202
			icon="icons/console.gif"  
203
   			category="org.eclipse.ui"  
204
			class="org.eclipse.ui.ExtensionFactory:logView"  
205
			id="org.eclipse.ui.views.LogView">  
206
		</view>
207
  <view
208
        class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
209
        id="eu.etaxonomy.taxeditor.reporting.viewPart"
210
        name="Reporting"
211
        restorable="true">
212
  </view>
213
  <view
214
        allowMultiple="false"
215
        class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
216
        icon="icons/applications-office.png"
217
        id="eu.etaxonomy.taxeditor.view.supplementalData"
218
        name="Supplemental Data"
219
        restorable="true">
220
  </view>
221
  <view
222
        allowMultiple="false"
223
        class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
224
        icon="icons/accessories-text-editor.png"
225
        id="eu.etaxonomy.taxeditor.view.detail"
226
        name="Details"
227
        restorable="true">
228
  </view>
229
  <view
230
        class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
231
        icon="icons/leaf_detail.png"
232
        id="eu.etaxonomy.taxeditor.view.userecords"
233
        name="Use Records"
234
        restorable="true">
235
  </view>
236
  <view
237
        class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
238
        icon="icons/derivate_search_view-16x16-32.png"
239
        id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
240
        name="Derivate Search"
241
        restorable="true">
242
  </view>
243
   </extension>
244
   <extension
245
         point="org.eclipse.ui.editors">
246
      <editor
247
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
248
            default="false"
249
            id="eu.etaxonomy.taxeditor.editor.definedTerm"
250
            name="Defined Term Editor">
251
      </editor>
252
   </extension>
253
   <extension
254
         point="org.eclipse.ui.menus">
255
      <menuContribution
256
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
257
         <menu
258
               id="eu.etaxonomy.taxeditor.menu.showView"
259
               label="Show View">
260
            <command
261
                  commandId="org.eclipse.ui.views.showView"
262
                  label="Derivate Search View"
263
                  style="push">
264
               <parameter
265
                     name="org.eclipse.ui.views.showView.viewId"
266
                     value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
267
               </parameter>
268
            </command>
269
            <separator
270
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
271
                  visible="true">
272
            </separator>
273
            <command
274
                  commandId="org.eclipse.ui.views.showView"
275
                  label="Details"
276
                  style="push">
277
               <parameter
278
                     name="org.eclipse.ui.views.showView.viewId"
279
                     value="eu.etaxonomy.taxeditor.view.detail">
280
               </parameter>
281
            </command>
282
            <command
283
                  commandId="org.eclipse.ui.views.showView"
284
                  label="Supplemental"
285
                  style="push">
286
               <parameter
287
                     name="org.eclipse.ui.views.showView.viewId"
288
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
289
               </parameter>
290
            </command>
291
            <separator
292
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
293
                  visible="true">
294
            </separator>
295
            <command
296
                  commandId="org.eclipse.ui.views.showView"
297
                  label="Datasource"
298
                  style="push">
299
               <parameter
300
                     name="org.eclipse.ui.views.showView.viewId"
301
                     value="eu.etaxonomy.taxeditor.view.datasource">
302
               </parameter>
303
            </command>
304
            <command
305
                  commandId="org.eclipse.ui.views.showView"
306
                  label="Messages"
307
                  style="push">
308
               <parameter
309
                     name="org.eclipse.ui.views.showView.viewId"
310
                     value="org.eclipse.pde.runtime.LogView">
311
               </parameter>
312
            </command>
313
            <command
314
                  commandId="org.eclipse.ui.views.showView"
315
                  label="Reporting"
316
                  style="push">
317
               <parameter
318
                     name="org.eclipse.ui.views.showView.viewId"
319
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
320
               </parameter>
321
               <visibleWhen
322
                     checkEnabled="true">
323
                  <reference
324
                        definitionId="isShowExperimentalFeatures">
325
                  </reference>
326
               </visibleWhen>
327
            </command>
328
         </menu>
329
      </menuContribution>
330
      <menuContribution
331
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
332
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
333
      </menuContribution>
334
      <menuContribution
335
            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
336
         <command
337
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
338
               label="Switch User"
339
               style="push">
340
         </command>
341
         <command
342
               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
343
               label="Change Password"
344
               style="push">
345
         </command>
346
         <separator
347
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
348
               visible="true">
349
         </separator>
350
      </menuContribution>
351
      <menuContribution
352
            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
353
         <command
354
               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
355
               label="Connect"
356
               style="push">
357
               <visibleWhen>
358
              <with
359
           		 variable="selection">
360
           		 <not>
361
         			<test
362
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
363
         			</test>
364
	      		</not>
365
          		</with>
366
            </visibleWhen>
367
         </command>
368
         <command
369
               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
370
               label="New"
371
               style="push">
372
         </command>
373
         <command
374
               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
375
               label="Edit"
376
               style="push">
377
                <visibleWhen>
378
              <with
379
           		 variable="selection">
380
           		 <not>
381
         			<test
382
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
383
         			</test>
384
	      		</not>
385
          		</with>
386
            </visibleWhen>
387
         </command>
388
         <command
389
               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
390
               label="Clone"
391
               style="push">
392
                <visibleWhen>
393
              <with
394
           		 variable="selection">
395
           		 <not>
396
         			<test
397
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
398
         			</test>
399
	      		</not>
400
          		</with>
401
            </visibleWhen>
402
         </command>
403
         <separator
404
               name="eu.etaxonomy.taxeditor.store.datasource.separator"
405
               visible="true">
406
         </separator>
407
         <command
408
               commandId="org.eclipse.ui.edit.delete"
409
               label="Delete"
410
               style="push">
411
               <visibleWhen>
412
              <with
413
           		 variable="selection">
414
           		 <not>
415
         			<test
416
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
417
         			</test>
418
	      		</not>
419
          		</with>
420
            </visibleWhen>
421
         </command>
422
         <separator
423
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
424
               visible="true">
425
         </separator>
426
         <command
427
               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
428
               label="Close Active Connection"
429
               style="push">
430
               <visibleWhen>
431
              <with
432
           		 variable="selection">
433
           		 <not>
434
         			<test
435
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
436
         			</test>
437
	      		</not>
438
          		</with>
439
            </visibleWhen>
440
         </command>
441
         <command
442
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
443
               label="Update Datamodel"
444
               style="push">
445
            <visibleWhen
446
                  checkEnabled="true">
447
               <not>
448
                  <reference
449
                        definitionId="isCompatible">
450
                  </reference>
451
               </not>
452
            </visibleWhen>
453
            
454
         </command>
455
      </menuContribution>
456
      <menuContribution
457
            locationURI="toolbar:org.eclipse.ui.trim.status">
458
         <toolbar
459
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
460
            <control
461
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
462
            </control>
463
         </toolbar>
464
      </menuContribution>
465
      <menuContribution
466
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
467
         <menu
468
               label="New">
469
            <command
470
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
471
                  label="Vocabulary"
472
                  style="push">
473
            </command>
474
            <command
475
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
476
                  label="Defined Term"
477
                  style="push">
478
               <visibleWhen
479
                     checkEnabled="true">
480
                  <reference
481
                        definitionId="isModifiable">
482
                  </reference>
483
               </visibleWhen>
484
            </command>
485
         </menu>
486
         <command
487
               commandId="org.eclipse.ui.edit.delete"
488
               label="Delete"
489
               style="push">
490
            <visibleWhen
491
                  checkEnabled="true">
492
               <reference
493
                     definitionId="isModifiable">
494
               </reference>
495
            </visibleWhen>
496
         </command>
497
      </menuContribution>
498
   </extension>
499
   <extension
500
         point="org.eclipse.ui.handlers">
501
      <handler
502
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
503
            commandId="org.eclipse.ui.edit.delete">
504
         <activeWhen>
505
            <with
506
                  variable="activePartId">
507
               <equals
508
                     value="eu.etaxonomy.taxeditor.view.datasource">
509
               </equals>
510
            </with>
511
         </activeWhen>
512
      </handler>
513
      <handler
514
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
515
            commandId="org.eclipse.ui.edit.delete">
516
         <activeWhen>
517
            <with
518
                  variable="activePartId">
519
               <equals
520
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
521
               </equals>
522
            </with>
523
         </activeWhen>
524
      </handler>
525
      <handler
526
            class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
527
            commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
528
         <activeWhen>
529
            <reference
530
                  definitionId="hasROLE_PROJECT_MANAGER">
531
            </reference>
532
         </activeWhen>
533
      </handler>
534
      <handler
535
            class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
536
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
537
         <enabledWhen>
538
            <reference
539
                  definitionId="isUserLoggedIn">
540
            </reference></enabledWhen>
541
      </handler>
542
      <handler
543
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
544
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
545
         <enabledWhen>
546
            <reference
547
                  definitionId="isUserLoggedIn">
548
            </reference></enabledWhen>
549
      </handler>
550
   </extension>
551
   <extension
552
         point="org.eclipse.ui.commands">
553
      <command
554
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
555
            id="eu.etaxonomy.taxeditor.datasource.connect"
556
            name="Connect">
557
      </command>
558
   </extension>
559
   <extension
560
         name="Popup Menu Commands"
561
         point="org.eclipse.ui.commands">
562
      <command
563
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
564
            id="eu.etaxonomy.taxeditor.store.datasource.change"
565
            name="Connect Datasource">
566
      </command>
567
      <command
568
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
569
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
570
            name="Edit Datasource">
571
      </command>
572
      <command
573
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
574
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
575
            name="Clone Datasource">
576
      </command>
577
      <command
578
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
579
            id="eu.etaxonomy.taxeditor.store.datasource.create"
580
            name="Create Datasource">
581
      </command>
582
      <command
583
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
584
            id="eu.etaxonomy.taxeditor.store.datasource.close"
585
            name="Close Active Connection">
586
      </command>
587
      <command
588
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
589
            id="eu.etaxonomy.taxeditor.store.datasource.update"
590
            name="Update Datasource">
591
      </command>
592
      <command
593
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
594
            name="Show Login Window">
595
      </command>
596
      <command
597
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
598
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
599
            name="Open Defined Term Editor">
600
         <commandParameter
601
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
602
               name="inputType"
603
               optional="true">
604
         </commandParameter>
605
      </command>
606
      <command
607
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
608
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
609
            name="New Defined Term">
610
      </command>
611
      <command
612
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
613
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
614
            name="New Term Vocabulary">
615
      </command>
616
      <command
617
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
618
         name="Open Feature Tree Editor Wizard">
619
   	  </command>
620
      <command
621
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
622
            name="Open Password Wizzard">
623
      </command>
624
   </extension>
625
   <extension
626
         point="org.eclipse.ui.importWizards">
627
      <category
628
            id="eu.etaxonomy.taxeditor.import.category.cdm"
629
            name="CDM">
630
      </category>
631
      <wizard
632
            category="eu.etaxonomy.taxeditor.import.category.cdm"
633
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
634
            id="eu.etaxonomy.taxeditor.io.import.tcs"
635
            name="TCS">
636
      </wizard>
637
   <!--   <wizard
638
            category="eu.etaxonomy.taxeditor.import.category.cdm"
639
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
640
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
641
            name="JAXB">
642
      </wizard> -->
643
   <!--   <wizard
644
            category="eu.etaxonomy.taxeditor.import.category.cdm"
645
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
646
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
647
            name="Berlin Model">
648
      </wizard>
649
      <wizard
650
            category="eu.etaxonomy.taxeditor.import.category.cdm"
651
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
652
            id="eu.etaxonomy.taxeditor.io.import.endnote"
653
            name="Endnote">
654
      </wizard>-->
655
      <wizard
656
            category="eu.etaxonomy.taxeditor.import.category.cdm"
657
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
658
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
659
            name="Excel Normal Explicit Taxa">
660
      </wizard>
661
      <wizard
662
            category="eu.etaxonomy.taxeditor.import.category.cdm"
663
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
664
            id="eu.etaxonomy.taxeditor.io.import.abcd"
665
            name="ABCD">
666
      </wizard>
667
      <wizard
668
            category="eu.etaxonomy.taxeditor.import.category.cdm"
669
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
670
            id="eu.etaxonomy.taxeditor.io.import.sdd"
671
            name="SDD">
672
      </wizard>
673
      <wizard
674
            category="eu.etaxonomy.taxeditor.import.category.cdm"
675
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
676
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
677
            name="Specimen CDM Excel">
678
      </wizard>
679
   </extension>
680
   <extension
681
         point="org.eclipse.ui.exportWizards">
682
      <category
683
            id="eu.etaxonomy.taxeditor.export.category.cdm"
684
            name="CDM">
685
      </category>
686
      <wizard
687
            category="eu.etaxonomy.taxeditor.export.category.cdm"
688
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
689
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
690
            name="JAXB">
691
      </wizard>
692
      <!--<wizard
693
            category="eu.etaxonomy.taxeditor.export.category.cdm"
694
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
695
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
696
            name="Berlin Model">
697
      </wizard>-->
698
      <category
699
            id="eu.etaxonomy.taxeditor.export.category.excel"
700
            name="Excel">
701
      </category>
702
      <wizard
703
            category="eu.etaxonomy.taxeditor.export.category.cdm"
704
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
705
            id="eu.etaxonomy.taxeditor.io.export.sdd"
706
            name="SDD">
707
      </wizard>
708
      <wizard
709
            category="eu.etaxonomy.taxeditor.export.category.cdm"
710
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
711
            id="eu.etaxonomy.taxeditor.io.export.dwca"
712
            name="DwC-A">
713
      </wizard>
714
   </extension>
715
   <extension
716
         point="org.eclipse.ui.newWizards">
717
      <wizard
718
            category="eu.etaxonomy.taxeditor.new.category.cdm"
719
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
720
            hasPages="true"
721
            id="eu.etaxonomy.taxeditor.new.reference"
722
            name="Reference">
723
      </wizard>
724
      <wizard
725
            category="eu.etaxonomy.taxeditor.new.category.cdm"
726
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
727
            hasPages="true"
728
            id="eu.etaxonomy.taxeditor.new.nonViralName"
729
            name="Name">
730
      </wizard>
731
      <wizard
732
            category="eu.etaxonomy.taxeditor.new.category.cdm"
733
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
734
            hasPages="true"
735
            id="eu.etaxonomy.taxeditor.new.team"
736
            name="Team">
737
      </wizard>
738
      <wizard
739
            category="eu.etaxonomy.taxeditor.new.category.cdm"
740
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
741
            hasPages="true"
742
            id="eu.etaxonomy.taxeditor.new.person"
743
            name="Person">
744
      </wizard>
745
      <wizard
746
            category="eu.etaxonomy.taxeditor.new.category.cdm"
747
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
748
            hasPages="true"
749
            id="eu.etaxonomy.taxeditor.new.specimen"
750
            name="Specimen">
751
      </wizard>
752
      <wizard
753
            category="eu.etaxonomy.taxeditor.new.category.cdm"
754
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
755
            hasPages="true"
756
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
757
            name="Polytomous Key">
758
      </wizard>
759
      <category
760
            id="eu.etaxonomy.taxeditor.new.category.cdm"
761
            name="CDM">
762
      </category>
763
      <wizard
764
            category="eu.etaxonomy.taxeditor.new.category.cdm"
765
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
766
            hasPages="true"
767
            id="eu.etaxonomy.taxeditor.new.taxonNode"
768
            name="Taxon">
769
      </wizard>
770
      <wizard
771
            category="eu.etaxonomy.taxeditor.new.category.cdm"
772
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
773
            hasPages="true"
774
            icon="icons/tree_icon_small.jpg"
775
            id="eu.etaxonomy.taxeditor.new.classification"
776
            name="Classification">
777
      </wizard>
778
   </extension>
779
<extension
780
            point="org.eclipse.ui.themes">
781
         <themeElementCategory
782
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
783
               label="Taxonomic Editor">
784
            <description>
785
               Color and font definitions for the EDIT Taxonomic Editor
786
            </description>
787
         </themeElementCategory>
788
         <colorDefinition
789
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
790
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
791
               label="List Background"
792
               value="150,150,150">
793
         </colorDefinition>
794
         <colorDefinition
795
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
796
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
797
               label="Global Text Color"
798
               value="0,0,0">
799
         </colorDefinition>
800
         <colorDefinition
801
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
802
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
803
               label="Global Color Composite Background"
804
               value="255,255,255">
805
         </colorDefinition>
806
         <colorDefinition
807
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
808
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
809
               label="Global Color Composite Irrelevant"
810
               value="241,139,18">
811
         </colorDefinition>
812
         <colorDefinition
813
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
814
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
815
               label="Global Text Color Disabled"
816
               value="150,150,150">
817
         </colorDefinition>
818
         <colorDefinition
819
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
820
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
821
               label="Global Background Color Disabled"
822
               value="230,230,230">
823
         </colorDefinition>
824
         <themeElementCategory
825
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
826
               label="Details View"
827
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
828
            <description>
829
               Colors and fonts for the details view
830
            </description>
831
         </themeElementCategory>
832
         <colorDefinition
833
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
834
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
835
               label="Entity Element List Background Odd"
836
               value="230,230,230">
837
         </colorDefinition>
838
         <colorDefinition
839
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
840
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
841
               label="Entity Element List Background Even"
842
               value="255,255,255">
843
         </colorDefinition>
844
         <themeElementCategory
845
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
846
               label="Name Editor"
847
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
848
            <description>
849
               Colors and fonts for the name editor
850
            </description>
851
         </themeElementCategory>
852
         <colorDefinition
853
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
854
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
855
               label="Container Background"
856
               value="220, 220, 220">
857
         </colorDefinition>
858
         <colorDefinition
859
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
860
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
861
               label="Container Selected Focus"
862
               value="232,242,254">
863
         </colorDefinition>
864
         <colorDefinition
865
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
866
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
867
               label="Container Selected"
868
               value="210, 210, 210">
869
         </colorDefinition>
870
         <colorDefinition
871
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
872
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
873
               label="Container Drag Enter"
874
               value="185,255,133">
875
         </colorDefinition>
876
         <fontDefinition
877
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
878
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
879
               label="Accepted Taxon Font"
880
               value="Georgia-regular-12">
881
         </fontDefinition>
882
         <fontDefinition
883
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
884
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
885
               label="Synonym Font"
886
               value="Georgia-regular-10">
887
         </fontDefinition>
888
         <fontDefinition
889
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
890
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
891
               label="Misapplication Font"
892
               value="Georgia-regular-10">
893
         </fontDefinition>
894
         <fontDefinition
895
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
896
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
897
               label="Concept Font"
898
               value="Georgia-regular-10">
899
         </fontDefinition>
900
         <fontDefinition
901
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
902
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
903
               label="Default Font"
904
               value="Georgia-regular-10">
905
         </fontDefinition>
906
         <themeElementCategory
907
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
908
               label="Search View"
909
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
910
            <description>
911
               Colors and fonts for the search view
912
            </description>
913
         </themeElementCategory>
914
         <colorDefinition
915
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
916
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
917
               label="Search View Foreground"
918
               value="192, 192, 192">
919
         </colorDefinition>
920
         <colorDefinition
921
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
922
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
923
               label="Search View Focus"
924
               value="0, 0, 0">
925
         </colorDefinition>
926
         <fontDefinition
927
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
928
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
929
               isEditable="true"
930
               label="Accepted font"
931
               value="Arial-regular-10">
932
            <description>
933
               The font that is used for accepted taxa in the search result list.
934
            </description>
935
         </fontDefinition>
936
         <fontDefinition
937
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
938
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
939
               isEditable="true"
940
               label="Synonym font"
941
               value="Arial-italic-10">
942
         <description>
943
            The font that is used for synonyms in the search result list.
944
         </description>
945
      </fontDefinition>
946
      <fontDefinition
947
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
948
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
949
            isEditable="true"
950
            label="Other font"
951
            value="Lucida Grande-regular-11">
952
         <description>
953
            The font used by default in the search result list.
954
         </description>
955
      </fontDefinition>
956
      <colorDefinition
957
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
958
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
959
            label="Parse Error"
960
            value="255,0,0">
961
      </colorDefinition>
962
      <colorDefinition
963
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
964
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
965
            label="Disabled Name Editor Field"
966
            value="105,114,124">
967
      </colorDefinition>
968
      <colorDefinition
969
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
970
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
971
            label="Editor On Error"
972
            value="255,0,0">
973
      </colorDefinition>
974
      </extension>
975
<extension
976
      point="org.eclipse.core.expressions.propertyTesters">
977
   <propertyTester
978
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
979
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
980
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
981
         properties="isCompatible"
982
         type="org.eclipse.jface.viewers.IStructuredSelection">
983
   </propertyTester>
984
    <propertyTester
985
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
986
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
987
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
988
         properties="test"
989
         type="org.eclipse.jface.viewers.IStructuredSelection">
990
   </propertyTester>
991
   <propertyTester
992
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
993
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
994
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
995
         properties="isShowExperimentalFeatures"
996
         type="org.eclipse.jface.viewers.IStructuredSelection">
997
   </propertyTester>
998
   <propertyTester
999
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1000
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1001
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1002
         properties="isModifiable"
1003
         type="org.eclipse.jface.viewers.IStructuredSelection">
1004
   </propertyTester>
1005
   <propertyTester
1006
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1007
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1008
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1009
        properties="hasPermissions, hasRoles"
1010
        type="org.eclipse.jface.viewers.IStructuredSelection">
1011
   </propertyTester>
1012
</extension>
1013
<extension
1014
      point="org.eclipse.core.expressions.definitions">
1015
   <definition
1016
         id="isCompatible">
1017
      <with
1018
            variable="selection">
1019
         <test
1020
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1021
         </test>
1022
      </with>
1023
   </definition>
1024
   <definition
1025
         id="isShowExperimentalFeatures">
1026
      <with
1027
            variable="selection">
1028
         <test
1029
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1030
         </test>
1031
      </with>
1032
   </definition>
1033
   <definition
1034
         id="isModifiable">
1035
      <with
1036
            variable="selection">
1037
         <test
1038
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1039
         </test>
1040
      </with>
1041
   </definition>
1042
   <definition
1043
            id="canUPDATE">
1044
        	<with
1045
           		variable="selection">
1046
	         <test
1047
	               args="UPDATE"
1048
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1049
	         </test>
1050
         </with>
1051
      </definition>
1052
      <definition
1053
            id="canDELETE">
1054
         <with
1055
               variable="selection">
1056
            <test
1057
                  args="DELETE"
1058
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1059
            </test>
1060
         </with>
1061
    </definition>
1062
      <definition
1063
            id="canCREATE">
1064
         <with
1065
               variable="selection">
1066
            <test
1067
                  args="CREATE"
1068
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1069
            </test>
1070
         </with>
1071
      </definition>
1072
      <definition
1073
            id="isUserLoggedIn">
1074
            <with
1075
               variable="eu.etaxonomy.taxeditor.security.user">
1076
               <instanceof
1077
                     value="eu.etaxonomy.cdm.model.common.User">
1078
               </instanceof>
1079
         </with>
1080
      </definition>
1081
      <definition
1082
            id="hasROLE_USER_MANAGER">
1083
            <with
1084
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1085
            <iterate
1086
                  ifEmpty="false"
1087
                  operator="or">
1088
               <or>
1089
                  <equals
1090
                        value="ROLE_ADMIN">
1091
                  </equals>
1092
                  <equals
1093
                        value="ROLE_USER_MANAGER">
1094
                  </equals>
1095
               </or>
1096
            </iterate>
1097
         </with>
1098
      </definition>
1099
      <definition
1100
            id="hasROLE_PROJECT_MANAGER">
1101
         <with
1102
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1103
            <iterate
1104
                  ifEmpty="false"
1105
                  operator="or">
1106
               <or>
1107
                  <equals
1108
                        value="ROLE_ADMIN">
1109
                  </equals>
1110
                  <equals
1111
                        value="ROLE_PROJECT_MANAGER">
1112
                  </equals>
1113
               </or>
1114
            </iterate>
1115
         </with>
1116
      </definition>
1117
</extension>
1118
<extension
1119
      point="org.eclipse.ui.activities">
1120
   <activity
1121
         description="DELETE permission dependent ui contributions"
1122
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1123
         name="Delete">
1124
      <enabledWhen>
1125
         <reference
1126
               definitionId="canDELETE">
1127
         </reference>
1128
      </enabledWhen>
1129
   </activity>
1130
   <activityPatternBinding
1131
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1132
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1133
   </activityPatternBinding>
1134
   <activity
1135
         description="UPDATE permission dependent ui contributions"
1136
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1137
         name="Update">
1138
      <enabledWhen>
1139
         <reference
1140
               definitionId="canUPDATE">
1141
         </reference>
1142
      </enabledWhen>
1143
   </activity>
1144
   <activityPatternBinding
1145
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1146
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1147
   </activityPatternBinding>
1148
   <activity
1149
         description="CREATE permission dependent ui contributions"
1150
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1151
         name="Delete">
1152
      <enabledWhen>
1153
         <reference
1154
               definitionId="canDELETE">
1155
         </reference>
1156
      </enabledWhen>
1157
   </activity>
1158
   <activityPatternBinding
1159
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1160
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1161
   </activityPatternBinding>
1162
   <activity
1163
         description="ROLE_USER_MANAGER dependent ui contributions"
1164
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1165
         name="UserManagement">
1166
      <enabledWhen>
1167
         <reference
1168
               definitionId="hasROLE_USER_MANAGER">
1169
         </reference>
1170
      </enabledWhen>
1171
   </activity>
1172
   <activityPatternBinding
1173
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1174
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1175
   </activityPatternBinding>
1176
   <activityPatternBinding
1177
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1178
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1179
   </activityPatternBinding>
1180
   <activity
1181
         description="ROLE_PROJECT_MANAGER dependent ui contributions"
1182
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1183
         name="ProjectManagement">
1184
      <enabledWhen>
1185
         <reference
1186
               definitionId="hasROLE_PROJECT_MANAGER">
1187
         </reference>
1188
      </enabledWhen>
1189
   </activity>
1190
   <activityPatternBinding
1191
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1192
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1193
   </activityPatternBinding>
1194
   <activityPatternBinding
1195
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1196
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1197
         isEqualityPattern="true">
1198
   </activityPatternBinding>
1199
   <activityPatternBinding
1200
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1201
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1202
         isEqualityPattern="true">
1203
   </activityPatternBinding>
1204
</extension>
1205
<extension
1206
      point="org.eclipse.ui.services">
1207
   <sourceProvider
1208
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1209
      <variable
1210
            name="eu.etaxonomy.taxeditor.security.userRoles"
1211
            priorityLevel="workbench">
1212
      </variable>
1213
   </sourceProvider>
1214
</extension>
1215
</plugin>
(5-5/6)