Project

General

Profile

Download (49.6 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="%page.name">
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="%page.name.0">
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="%page.name.1">
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="%page.name.2">
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="%page.name.3">
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="%page.name.4">
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="%page.name.5">
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="%page.name.6">
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="%page.name.7">
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="%page.name.8">
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="%page.name.9">
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="%page.name.10">
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="%page.name.11">
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="%page.name.12">
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="%page.name.13">
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="%page.name.14">
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="%page.name.15">
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="%page.name.16">
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="%page.name.17">
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="%page.name.18">
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="%page.name.19">
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="%page.name.20">
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="%page.name.21">
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="%page.name.22">
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="%page.name.23">
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="%page.name.24">
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="%page.name.25">
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
      <page
185
            category="eu.etaxonomy.taxeditor.preferences.general"
186
            class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
187
            id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
188
            name="Checklist Editor">
189
      </page>
190
      <page
191
            category="eu.etaxonomy.taxeditor.preferences.general"
192
            class="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
193
            id="eu.etaxonomy.taxeditor.preference.TemplatePreferencePage"
194
            name="Editor Profile">
195
      </page>
196
      <page
197
            category="eu.etaxonomy.taxeditor.preferences.general"
198
            class="eu.etaxonomy.taxeditor.preference.DefaultLanguageEditorPreferencePage"
199
            id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
200
            name="Default Language">
201
      </page>
202
   </extension>
203
   <extension
204
         point="org.eclipse.ui.views">
205
      <view
206
            class="eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart"
207
            icon="icons/system-file-manager.png"
208
            id="eu.etaxonomy.taxeditor.view.datasource"
209
            name="%view.name"
210
            restorable="true">
211
      </view>
212
      <view  
213
			name="%view.name.0"  
214
   			category="org.eclipse.ui"  
215
			class="org.eclipse.ui.ExtensionFactory:progressView"  
216
			id="org.eclipse.ui.views.ProgressView">  
217
		</view>
218
		<view  
219
			name="%view.name.1"  
220
			icon="icons/console.gif"  
221
   			category="org.eclipse.ui"  
222
			class="org.eclipse.ui.ExtensionFactory:logView"  
223
			id="org.eclipse.ui.views.LogView">  
224
		</view>
225
  <view
226
        class="eu.etaxonomy.taxeditor.view.reporting.ReportingViewPart"
227
        id="eu.etaxonomy.taxeditor.reporting.viewPart"
228
        name="%view.name.2"
229
        restorable="true">
230
  </view>
231
  <view
232
        allowMultiple="false"
233
        class="eu.etaxonomy.taxeditor.view.supplementaldata.SupplementalDataViewPart"
234
        icon="icons/applications-office.png"
235
        id="eu.etaxonomy.taxeditor.view.supplementalData"
236
        name="%view.name.3"
237
        restorable="true">
238
  </view>
239
  <view
240
        allowMultiple="false"
241
        class="eu.etaxonomy.taxeditor.view.detail.DetailsViewPart"
242
        icon="icons/accessories-text-editor.png"
243
        id="eu.etaxonomy.taxeditor.view.detail"
244
        name="%view.name.4"
245
        restorable="true">
246
  </view>
247
  <view
248
        class="eu.etaxonomy.taxeditor.view.userecords.UseRecordsViewPart"
249
        icon="icons/leaf_detail.png"
250
        id="eu.etaxonomy.taxeditor.view.userecords"
251
        name="%view.name.5"
252
        restorable="true">
253
  </view>
254
  <view
255
        class="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
256
        icon="icons/derivate_search_view-16x16-32.png"
257
        id="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView"
258
        name="%view.name.6"
259
        restorable="true">
260
  </view>
261
   </extension>
262
   <extension
263
         point="org.eclipse.ui.editors">
264
      <editor
265
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermEditor"
266
            default="false"
267
            id="eu.etaxonomy.taxeditor.editor.definedTerm"
268
            name="%editor.name">
269
      </editor>
270
   </extension>
271
   <extension
272
         point="org.eclipse.ui.menus">
273
      <menuContribution
274
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
275
         <menu
276
               id="eu.etaxonomy.taxeditor.menu.showView"
277
               label="%menu.label">
278
            <command
279
                  commandId="org.eclipse.ui.views.showView"
280
                  label="%command.label"
281
                  style="push">
282
               <parameter
283
                     name="org.eclipse.ui.views.showView.viewId"
284
                     value="eu.etaxonomy.taxeditor.view.derivateSearch.DerivateSearchView">
285
               </parameter>
286
            </command>
287
            <separator
288
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.details"
289
                  visible="true">
290
            </separator>
291
            <command
292
                  commandId="org.eclipse.ui.views.showView"
293
                  label="%command.label.0"
294
                  style="push">
295
               <parameter
296
                     name="org.eclipse.ui.views.showView.viewId"
297
                     value="eu.etaxonomy.taxeditor.view.detail">
298
               </parameter>
299
            </command>
300
            <command
301
                  commandId="org.eclipse.ui.views.showView"
302
                  label="%command.label.1"
303
                  style="push">
304
               <parameter
305
                     name="org.eclipse.ui.views.showView.viewId"
306
                     value="eu.etaxonomy.taxeditor.view.supplementalData">
307
               </parameter>
308
            </command>
309
            <separator
310
                  name="eu.etaxonomy.taxeditor.store.showViewMenu.internal"
311
                  visible="true">
312
            </separator>
313
            <command
314
                  commandId="org.eclipse.ui.views.showView"
315
                  label="%command.label.2"
316
                  style="push">
317
               <parameter
318
                     name="org.eclipse.ui.views.showView.viewId"
319
                     value="eu.etaxonomy.taxeditor.view.datasource">
320
               </parameter>
321
            </command>
322
            <command
323
                  commandId="org.eclipse.ui.views.showView"
324
                  label="%command.label.3"
325
                  style="push">
326
               <parameter
327
                     name="org.eclipse.ui.views.showView.viewId"
328
                     value="org.eclipse.pde.runtime.LogView">
329
               </parameter>
330
            </command>
331
            <command
332
                  commandId="org.eclipse.ui.views.showView"
333
                  label="%command.label.4"
334
                  style="push">
335
               <parameter
336
                     name="org.eclipse.ui.views.showView.viewId"
337
                     value="eu.etaxonomy.taxeditor.reporting.viewPart">
338
               </parameter>
339
               <visibleWhen
340
                     checkEnabled="true">
341
                  <reference
342
                        definitionId="isShowExperimentalFeatures">
343
                  </reference>
344
               </visibleWhen>
345
            </command>
346
         </menu>
347
      </menuContribution>
348
      <menuContribution
349
            class="eu.etaxonomy.taxeditor.editor.definedterm.DefinedTermMenuFactory"
350
            locationURI="menu:org.eclipse.ui.main.menu.window?before=eu.etaxonomy.taxeditor.application.windowMenu.last">
351
      </menuContribution>
352
      <menuContribution
353
            locationURI="menu:org.eclipse.ui.main.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
354
         <command
355
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
356
               label="%command.label.5"
357
               style="push">
358
         </command>
359
         <separator
360
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
361
               visible="true">
362
         </separator>
363
      </menuContribution>
364
      <menuContribution
365
            locationURI="popup:eu.etaxonomy.taxeditor.view.datasource">
366
         <command
367
               commandId="eu.etaxonomy.taxeditor.store.datasource.change"
368
               label="%command.label.6"
369
               style="push">
370
               <visibleWhen>
371
              <with
372
           		 variable="selection">
373
           		 <not>
374
         			<test
375
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
376
         			</test>
377
	      		</not>
378
          		</with>
379
            </visibleWhen>
380
         </command>
381
         <command
382
               commandId="eu.etaxonomy.taxeditor.store.datasource.create"
383
               label="%command.label.7"
384
               style="push">
385
         </command>
386
         <command
387
               commandId="eu.etaxonomy.taxeditor.store.datasource.edit"
388
               label="%command.label.8"
389
               style="push">
390
                <visibleWhen>
391
              <with
392
           		 variable="selection">
393
           		 <not>
394
         			<test
395
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
396
         			</test>
397
	      		</not>
398
          		</with>
399
            </visibleWhen>
400
         </command>
401
         <command
402
               commandId="eu.etaxonomy.taxeditor.store.datasource.clone"
403
               label="Clone"
404
               style="push">
405
                <visibleWhen>
406
              <with
407
           		 variable="selection">
408
           		 <not>
409
         			<test
410
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
411
         			</test>
412
	      		</not>
413
          		</with>
414
            </visibleWhen>
415
         </command>
416
         <separator
417
               name="eu.etaxonomy.taxeditor.store.datasource.separator"
418
               visible="true">
419
         </separator>
420
         <command
421
               commandId="org.eclipse.ui.edit.delete"
422
               label="%command.label.9"
423
               style="push">
424
               <visibleWhen>
425
              <with
426
           		 variable="selection">
427
           		 <not>
428
         			<test
429
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
430
         			</test>
431
	      		</not>
432
          		</with>
433
            </visibleWhen>
434
         </command>
435
         <separator
436
               name="eu.etaxonomy.taxeditor.store.datasource.separator2"
437
               visible="true">
438
         </separator>
439
         <command
440
               commandId="eu.etaxonomy.taxeditor.store.datasource.close"
441
               label="%command.label.10"
442
               style="push">
443
               <visibleWhen>
444
              <with
445
           		 variable="selection">
446
           		 <not>
447
         			<test
448
               			property="eu.etaxonomy.taxeditor.datasource.propertyTester.test">
449
         			</test>
450
	      		</not>
451
          		</with>
452
            </visibleWhen>
453
         </command>
454
         <command
455
               commandId="eu.etaxonomy.taxeditor.store.datasource.update"
456
               label="%command.label.11"
457
               style="push">
458
            <visibleWhen
459
                  checkEnabled="true">
460
               <not>
461
                  <reference
462
                        definitionId="isCompatible">
463
                  </reference>
464
               </not>
465
            </visibleWhen>
466
            
467
         </command>
468
      </menuContribution>
469
      <menuContribution
470
            locationURI="toolbar:org.eclipse.ui.trim.status">
471
         <toolbar
472
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
473
            <control
474
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
475
            </control>
476
         </toolbar>
477
      </menuContribution>
478
      <menuContribution
479
            locationURI="popup:eu.etaxonomy.taxeditor.editor.definedTerm">
480
         <menu
481
               label="%menu.label.0">
482
            <command
483
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
484
                  label="%command.label.12"
485
                  style="push">
486
            </command>
487
            <command
488
                  commandId="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
489
                  label="%command.label.13"
490
                  style="push">
491
               <visibleWhen
492
                     checkEnabled="true">
493
                  <reference
494
                        definitionId="isModifiable">
495
                  </reference>
496
               </visibleWhen>
497
            </command>
498
         </menu>
499
         <command
500
               commandId="org.eclipse.ui.edit.delete"
501
               label="%command.label.14"
502
               style="push">
503
            <visibleWhen
504
                  checkEnabled="true">
505
               <reference
506
                     definitionId="isModifiable">
507
               </reference>
508
            </visibleWhen>
509
         </command>
510
      </menuContribution>
511
   </extension>
512
   <extension
513
         point="org.eclipse.ui.handlers">
514
      <handler
515
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
516
            commandId="org.eclipse.ui.edit.delete">
517
         <activeWhen>
518
            <with
519
                  variable="activePartId">
520
               <equals
521
                     value="eu.etaxonomy.taxeditor.view.datasource">
522
               </equals>
523
            </with>
524
         </activeWhen>
525
      </handler>
526
      <handler
527
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
528
            commandId="org.eclipse.ui.edit.delete">
529
         <activeWhen>
530
            <with
531
                  variable="activePartId">
532
               <equals
533
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
534
               </equals>
535
            </with>
536
         </activeWhen>
537
      </handler>
538
      <handler
539
            class="eu.etaxonomy.taxeditor.featuretree.OpenFeatureTreeEditorWizardHandler"
540
            commandId="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard">
541
         <activeWhen>
542
            <reference
543
                  definitionId="hasROLE_PROJECT_MANAGER">
544
            </reference>
545
         </activeWhen>
546
      </handler>
547
      <handler
548
            class="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
549
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
550
         <enabledWhen>
551
            <reference
552
                  definitionId="isUserLoggedIn">
553
            </reference></enabledWhen>
554
      </handler>
555
      <handler
556
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
557
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
558
         <enabledWhen>
559
            <reference
560
                  definitionId="isUserLoggedIn">
561
            </reference></enabledWhen>
562
      </handler>
563
      <handler
564
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
565
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
566
         <activeWhen>
567
            <reference
568
                  definitionId="hasROLE_PROJECT_MANAGER">
569
            </reference>
570
         </activeWhen>
571
      </handler>
572
   </extension>
573
   <extension
574
         point="org.eclipse.ui.commands">
575
      <command
576
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
577
            id="eu.etaxonomy.taxeditor.datasource.connect"
578
            name="Connect">
579
      </command>
580
   </extension>
581
   <extension
582
         name="Popup Menu Commands"
583
         point="org.eclipse.ui.commands">
584
      <command
585
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
586
            id="eu.etaxonomy.taxeditor.store.datasource.change"
587
            name="%command.name">
588
      </command>
589
      <command
590
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.EditDataSourceHandler"
591
            id="eu.etaxonomy.taxeditor.store.datasource.edit"
592
            name="%command.name.0">
593
      </command>
594
      <command
595
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloneDataSourceHandler"
596
            id="eu.etaxonomy.taxeditor.store.datasource.clone"
597
            name="Clone Datasource">
598
      </command>
599
      <command
600
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
601
            id="eu.etaxonomy.taxeditor.store.datasource.create"
602
            name="%command.name.1">
603
      </command>
604
      <command
605
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CloseConnectionHandler"
606
            id="eu.etaxonomy.taxeditor.store.datasource.close"
607
            name="%command.name.2">
608
      </command>
609
      <command
610
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.UpdateDataSourceHandler"
611
            id="eu.etaxonomy.taxeditor.store.datasource.update"
612
            name="%command.name.3">
613
      </command>
614
      <command
615
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
616
            name="%command.name.4">
617
      </command>
618
      <command
619
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.OpenDefinedTermEditorHandler"
620
            id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor"
621
            name="%command.name.5">
622
         <commandParameter
623
               id="eu.etaxonomy.taxeditor.store.openDefinedTermEditor.termTypeUuid"
624
               name="%commandParameter.name.0"
625
               optional="true">
626
         </commandParameter>
627
      </command>
628
      <command
629
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateDefinedTermHandler"
630
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newDefinedTerm"
631
            name="%command.name.6">
632
      </command>
633
      <command
634
            defaultHandler="eu.etaxonomy.taxeditor.editor.definedterm.handler.CreateTermVocabularyHandler"
635
            id="eu.etaxonomy.taxeditor.editor.definedTerms.newTermVocabulary"
636
            name="%command.name.7">
637
      </command>
638
      <command
639
         id="eu.etaxonomy.taxeditor.store.open.FeatureTreeEditorWizard"
640
         name="Open Feature Tree Editor Wizard">
641
   	  </command>
642
      <command
643
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
644
            name="Open Password Wizzard">
645
      </command>
646
      <command
647
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
648
            name="Open Distribution Editor Wizard">
649
      </command>
650
   </extension>
651
   <extension
652
         point="org.eclipse.ui.importWizards">
653
      <category
654
            id="eu.etaxonomy.taxeditor.import.category.cdm"
655
            name="%category.name">
656
      </category>
657
      <wizard
658
            category="eu.etaxonomy.taxeditor.import.category.cdm"
659
            class="eu.etaxonomy.taxeditor.io.wizard.TcsImportWizard"
660
            id="eu.etaxonomy.taxeditor.io.import.tcs"
661
            name="%wizard.name">
662
      </wizard>
663
   <!--   <wizard
664
            category="eu.etaxonomy.taxeditor.import.category.cdm"
665
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbImportWizard"
666
            id="eu.etaxonomy.taxeditor.io.import.jaxb"
667
            name="JAXB">
668
      </wizard> -->
669
   <!--   <wizard
670
            category="eu.etaxonomy.taxeditor.import.category.cdm"
671
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelImportWizard"
672
            id="eu.etaxonomy.taxeditor.io.import.berlinModel"
673
            name="%wizard.name.0">
674
      </wizard>
675
      <wizard
676
            category="eu.etaxonomy.taxeditor.import.category.cdm"
677
            class="eu.etaxonomy.taxeditor.io.wizard.EndnoteImportWizard"
678
            id="eu.etaxonomy.taxeditor.io.import.endnote"
679
            name="%wizard.name.1">
680
      </wizard>-->
681
      <wizard
682
            category="eu.etaxonomy.taxeditor.import.category.cdm"
683
            class="eu.etaxonomy.taxeditor.io.wizard.ExcelNormalExplicitTaxaImportWizard"
684
            id="eu.etaxonomy.taxeditor.io.import.excel.taxa"
685
            name="%wizard.name.2">
686
      </wizard>
687
      <wizard
688
            category="eu.etaxonomy.taxeditor.import.category.cdm"
689
            class="eu.etaxonomy.taxeditor.io.wizard.AbcdImportWizard"
690
            id="eu.etaxonomy.taxeditor.io.import.abcd"
691
            name="%wizard.name.3">
692
      </wizard>
693
      <wizard
694
            category="eu.etaxonomy.taxeditor.import.category.cdm"
695
            class="eu.etaxonomy.taxeditor.io.wizard.SddImportWizard"
696
            id="eu.etaxonomy.taxeditor.io.import.sdd"
697
            name="%wizard.name.4">
698
      </wizard>
699
      <wizard
700
            category="eu.etaxonomy.taxeditor.import.category.cdm"
701
            class="eu.etaxonomy.taxeditor.io.wizard.SpecimenCdmExcelImportWizard"
702
            id="eu.etaxonomy.taxeditor.io.import.specimenCdmExcel"
703
            name="%wizard.name.5">
704
      </wizard>
705
   </extension>
706
   <extension
707
         point="org.eclipse.ui.exportWizards">
708
      <category
709
            id="eu.etaxonomy.taxeditor.export.category.cdm"
710
            name="%category.name.0">
711
      </category>
712
      <wizard
713
            category="eu.etaxonomy.taxeditor.export.category.cdm"
714
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
715
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
716
            name="%wizard.name.6">
717
      </wizard>
718
      <!--<wizard
719
            category="eu.etaxonomy.taxeditor.export.category.cdm"
720
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
721
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
722
            name="%wizard.name.7">
723
      </wizard>-->
724
      <category
725
            id="eu.etaxonomy.taxeditor.export.category.excel"
726
            name="%category.name.1">
727
      </category>
728
      <wizard
729
            category="eu.etaxonomy.taxeditor.export.category.cdm"
730
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
731
            id="eu.etaxonomy.taxeditor.io.export.sdd"
732
            name="%wizard.name.8">
733
      </wizard>
734
      <wizard
735
            category="eu.etaxonomy.taxeditor.export.category.cdm"
736
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
737
            id="eu.etaxonomy.taxeditor.io.export.dwca"
738
            name="%wizard.name.9">
739
      </wizard>
740
   </extension>
741
   <extension
742
         point="org.eclipse.ui.newWizards">
743
      <wizard
744
            category="eu.etaxonomy.taxeditor.new.category.cdm"
745
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
746
            hasPages="true"
747
            id="eu.etaxonomy.taxeditor.new.reference"
748
            name="%wizard.name.10">
749
      </wizard>
750
      <wizard
751
            category="eu.etaxonomy.taxeditor.new.category.cdm"
752
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
753
            hasPages="true"
754
            id="eu.etaxonomy.taxeditor.new.nonViralName"
755
            name="%wizard.name.11">
756
      </wizard>
757
      <wizard
758
            category="eu.etaxonomy.taxeditor.new.category.cdm"
759
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
760
            hasPages="true"
761
            id="eu.etaxonomy.taxeditor.new.team"
762
            name="%wizard.name.12">
763
      </wizard>
764
      <wizard
765
            category="eu.etaxonomy.taxeditor.new.category.cdm"
766
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
767
            hasPages="true"
768
            id="eu.etaxonomy.taxeditor.new.person"
769
            name="%wizard.name.13">
770
      </wizard>
771
      <wizard
772
            category="eu.etaxonomy.taxeditor.new.category.cdm"
773
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
774
            hasPages="true"
775
            id="eu.etaxonomy.taxeditor.new.specimen"
776
            name="%wizard.name.14">
777
      </wizard>
778
      <wizard
779
            category="eu.etaxonomy.taxeditor.new.category.cdm"
780
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
781
            hasPages="true"
782
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
783
            name="%wizard.name.15">
784
      </wizard>
785
      <category
786
            id="eu.etaxonomy.taxeditor.new.category.cdm"
787
            name="%category.name.2">
788
      </category>
789
      <wizard
790
            category="eu.etaxonomy.taxeditor.new.category.cdm"
791
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
792
            hasPages="true"
793
            id="eu.etaxonomy.taxeditor.new.taxonNode"
794
            name="%wizard.name.16">
795
      </wizard>
796
      <wizard
797
            category="eu.etaxonomy.taxeditor.new.category.cdm"
798
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
799
            hasPages="true"
800
            icon="icons/tree_icon_small.jpg"
801
            id="eu.etaxonomy.taxeditor.new.classification"
802
            name="%wizard.name.17">
803
      </wizard>
804
   </extension>
805
<extension
806
            point="org.eclipse.ui.themes">
807
         <themeElementCategory
808
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
809
               label="%themeElementCategory.label">
810
            <description>
811
               %themeElementCategory.description
812
            </description>
813
         </themeElementCategory>
814
         <colorDefinition
815
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
816
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
817
               label="%colorDefinition.label"
818
               value="150,150,150">
819
         </colorDefinition>
820
         <colorDefinition
821
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
822
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
823
               label="%colorDefinition.label.0"
824
               value="0,0,0">
825
         </colorDefinition>
826
         <colorDefinition
827
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
828
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
829
               label="%colorDefinition.label.1"
830
               value="255,255,255">
831
         </colorDefinition>
832
         <colorDefinition
833
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
834
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
835
               label="%colorDefinition.label.2"
836
               value="241,139,18">
837
         </colorDefinition>
838
         <colorDefinition
839
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
840
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
841
               label="%colorDefinition.label.3"
842
               value="150,150,150">
843
         </colorDefinition>
844
         <colorDefinition
845
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
846
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
847
               label="%colorDefinition.label.4"
848
               value="230,230,230">
849
         </colorDefinition>
850
         <themeElementCategory
851
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
852
               label="%themeElementCategory.label.0"
853
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
854
            <description>
855
               %themeElementCategory.description.0
856
            </description>
857
         </themeElementCategory>
858
         <colorDefinition
859
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
860
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
861
               label="%colorDefinition.label.5"
862
               value="230,230,230">
863
         </colorDefinition>
864
         <colorDefinition
865
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
866
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
867
               label="%colorDefinition.label.6"
868
               value="255,255,255">
869
         </colorDefinition>
870
         <themeElementCategory
871
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
872
               label="%themeElementCategory.label.1"
873
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
874
            <description>
875
               %themeElementCategory.description.1
876
            </description>
877
         </themeElementCategory>
878
         <colorDefinition
879
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
880
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
881
               label="%colorDefinition.label.7"
882
               value="220, 220, 220">
883
         </colorDefinition>
884
         <colorDefinition
885
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
886
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
887
               label="%colorDefinition.label.8"
888
               value="232,242,254">
889
         </colorDefinition>
890
         <colorDefinition
891
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
892
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
893
               label="%colorDefinition.label.9"
894
               value="210, 210, 210">
895
         </colorDefinition>
896
         <colorDefinition
897
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
898
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
899
               label="%colorDefinition.label.10"
900
               value="185,255,133">
901
         </colorDefinition>
902
         <fontDefinition
903
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
904
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
905
               label="%fontDefinition.label"
906
               value="Georgia-regular-12">
907
         </fontDefinition>
908
         <fontDefinition
909
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
910
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
911
               label="%fontDefinition.label.0"
912
               value="Georgia-regular-10">
913
         </fontDefinition>
914
         <fontDefinition
915
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
916
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
917
               label="%fontDefinition.label.1"
918
               value="Georgia-regular-10">
919
         </fontDefinition>
920
         <fontDefinition
921
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
922
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
923
               label="%fontDefinition.label.2"
924
               value="Georgia-regular-10">
925
         </fontDefinition>
926
         <fontDefinition
927
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
928
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
929
               label="%fontDefinition.label.3"
930
               value="Georgia-regular-10">
931
         </fontDefinition>
932
         <themeElementCategory
933
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
934
               label="%themeElementCategory.label.2"
935
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
936
            <description>
937
               %themeElementCategory.description.2
938
            </description>
939
         </themeElementCategory>
940
         <colorDefinition
941
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
942
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
943
               label="%colorDefinition.label.11"
944
               value="192, 192, 192">
945
         </colorDefinition>
946
         <colorDefinition
947
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
948
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
949
               label="%colorDefinition.label.12"
950
               value="0, 0, 0">
951
         </colorDefinition>
952
         <fontDefinition
953
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
954
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
955
               isEditable="true"
956
               label="%fontDefinition.label.4"
957
               value="Arial-regular-10">
958
            <description>
959
               %fontDefinition.description
960
            </description>
961
         </fontDefinition>
962
         <fontDefinition
963
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
964
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
965
               isEditable="true"
966
               label="%fontDefinition.label.5"
967
               value="Arial-italic-10">
968
         <description>
969
            %fontDefinition.description.0
970
         </description>
971
      </fontDefinition>
972
      <fontDefinition
973
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
974
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
975
            isEditable="true"
976
            label="%fontDefinition.label.6"
977
            value="Lucida Grande-regular-11">
978
         <description>
979
            %fontDefinition.description.1
980
         </description>
981
      </fontDefinition>
982
      <colorDefinition
983
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
984
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
985
            label="%colorDefinition.label.13"
986
            value="255,0,0">
987
      </colorDefinition>
988
      <colorDefinition
989
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
990
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
991
            label="%colorDefinition.label.14"
992
            value="105,114,124">
993
      </colorDefinition>
994
      <colorDefinition
995
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
996
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
997
            label="%colorDefinition.label.15"
998
            value="255,0,0">
999
      </colorDefinition>
1000
      </extension>
1001
<extension
1002
      point="org.eclipse.core.expressions.propertyTesters">
1003
   <propertyTester
1004
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1005
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1006
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1007
         properties="isCompatible"
1008
         type="org.eclipse.jface.viewers.IStructuredSelection">
1009
   </propertyTester>
1010
    <propertyTester
1011
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
1012
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
1013
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
1014
         properties="test"
1015
         type="org.eclipse.jface.viewers.IStructuredSelection">
1016
   </propertyTester>
1017
   <propertyTester
1018
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
1019
         id="eu.etaxonomy.taxeditor.preferences.propertyTester"
1020
         namespace="eu.etaxonomy.taxeditor.preferences.propertyTester"
1021
         properties="isShowExperimentalFeatures"
1022
         type="org.eclipse.jface.viewers.IStructuredSelection">
1023
   </propertyTester>
1024
   <propertyTester
1025
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
1026
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1027
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
1028
         properties="isModifiable"
1029
         type="org.eclipse.jface.viewers.IStructuredSelection">
1030
   </propertyTester>
1031
   <propertyTester
1032
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
1033
        id="eu.etaxonomy.taxeditor.security.permissionTester"
1034
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
1035
        properties="hasPermissions, hasRoles"
1036
        type="org.eclipse.jface.viewers.IStructuredSelection">
1037
   </propertyTester>
1038
</extension>
1039
<extension
1040
      point="org.eclipse.core.expressions.definitions">
1041
   <definition
1042
         id="isCompatible">
1043
      <with
1044
            variable="selection">
1045
         <test
1046
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
1047
         </test>
1048
      </with>
1049
   </definition>
1050
   <definition
1051
         id="isShowExperimentalFeatures">
1052
      <with
1053
            variable="selection">
1054
         <test
1055
               property="eu.etaxonomy.taxeditor.preferences.propertyTester.isShowExperimentalFeatures">
1056
         </test>
1057
      </with>
1058
   </definition>
1059
   <definition
1060
         id="isModifiable">
1061
      <with
1062
            variable="selection">
1063
         <test
1064
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
1065
         </test>
1066
      </with>
1067
   </definition>
1068
   <definition
1069
            id="canUPDATE">
1070
        	<with
1071
           		variable="selection">
1072
	         <test
1073
	               args="UPDATE"
1074
	               property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1075
	         </test>
1076
         </with>
1077
      </definition>
1078
      <definition
1079
            id="canDELETE">
1080
         <with
1081
               variable="selection">
1082
            <test
1083
                  args="DELETE"
1084
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1085
            </test>
1086
         </with>
1087
    </definition>
1088
      <definition
1089
            id="canCREATE">
1090
         <with
1091
               variable="selection">
1092
            <test
1093
                  args="CREATE"
1094
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
1095
            </test>
1096
         </with>
1097
      </definition>
1098
      <definition
1099
            id="isUserLoggedIn">
1100
            <with
1101
               variable="eu.etaxonomy.taxeditor.security.user">
1102
               <instanceof
1103
                     value="eu.etaxonomy.cdm.model.common.User">
1104
               </instanceof>
1105
         </with>
1106
      </definition>
1107
      <definition
1108
            id="hasROLE_USER_MANAGER">
1109
            <with
1110
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1111
            <iterate
1112
                  ifEmpty="false"
1113
                  operator="or">
1114
               <or>
1115
                  <equals
1116
                        value="ROLE_ADMIN">
1117
                  </equals>
1118
                  <equals
1119
                        value="ROLE_USER_MANAGER">
1120
                  </equals>
1121
               </or>
1122
            </iterate>
1123
         </with>
1124
      </definition>
1125
      <definition
1126
            id="hasROLE_PROJECT_MANAGER">
1127
         <with
1128
               variable="eu.etaxonomy.taxeditor.security.userRoles">
1129
            <iterate
1130
                  ifEmpty="false"
1131
                  operator="or">
1132
               <or>
1133
                  <equals
1134
                        value="ROLE_ADMIN">
1135
                  </equals>
1136
                  <equals
1137
                        value="ROLE_PROJECT_MANAGER">
1138
                  </equals>
1139
               </or>
1140
            </iterate>
1141
         </with>
1142
      </definition>
1143
</extension>
1144
<extension
1145
      point="org.eclipse.ui.activities">
1146
   <activity
1147
         description="DELETE permission dependent ui contributions"
1148
         id="eu.etaxonomy.taxeditor.store.activityDelete"
1149
         name="Delete">
1150
      <enabledWhen>
1151
         <reference
1152
               definitionId="canDELETE">
1153
         </reference>
1154
      </enabledWhen>
1155
   </activity>
1156
   <activityPatternBinding
1157
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
1158
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
1159
   </activityPatternBinding>
1160
   <activity
1161
         description="UPDATE permission dependent ui contributions"
1162
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
1163
         name="Update">
1164
      <enabledWhen>
1165
         <reference
1166
               definitionId="canUPDATE">
1167
         </reference>
1168
      </enabledWhen>
1169
   </activity>
1170
   <activityPatternBinding
1171
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
1172
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
1173
   </activityPatternBinding>
1174
   <activity
1175
         description="CREATE permission dependent ui contributions"
1176
         id="eu.etaxonomy.taxeditor.store.activityCreate"
1177
         name="Delete">
1178
      <enabledWhen>
1179
         <reference
1180
               definitionId="canDELETE">
1181
         </reference>
1182
      </enabledWhen>
1183
   </activity>
1184
   <activityPatternBinding
1185
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
1186
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
1187
   </activityPatternBinding>
1188
   <activity
1189
         description="ROLE_USER_MANAGER dependent ui contributions"
1190
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
1191
         name="UserManagement">
1192
      <enabledWhen>
1193
         <reference
1194
               definitionId="hasROLE_USER_MANAGER">
1195
         </reference>
1196
      </enabledWhen>
1197
   </activity>
1198
   <activityPatternBinding
1199
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1200
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
1201
   </activityPatternBinding>
1202
   <activityPatternBinding
1203
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
1204
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
1205
   </activityPatternBinding>
1206
   <activity
1207
         description="ROLE_PROJECT_MANAGER dependent ui contributions"
1208
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1209
         name="ProjectManagement">
1210
      <enabledWhen>
1211
         <reference
1212
               definitionId="hasROLE_PROJECT_MANAGER">
1213
         </reference>
1214
      </enabledWhen>
1215
   </activity>
1216
   <activityPatternBinding
1217
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1218
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
1219
   </activityPatternBinding>
1220
   <activityPatternBinding
1221
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1222
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
1223
         isEqualityPattern="true">
1224
   </activityPatternBinding>
1225
   <activityPatternBinding
1226
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
1227
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
1228
         isEqualityPattern="true">
1229
   </activityPatternBinding>
1230
</extension>
1231
<extension
1232
      point="org.eclipse.ui.services">
1233
   <sourceProvider
1234
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
1235
      <variable
1236
            name="eu.etaxonomy.taxeditor.security.userRoles"
1237
            priorityLevel="workbench">
1238
      </variable>
1239
   </sourceProvider>
1240
</extension>
1241
</plugin>
(5-5/6)