Project

General

Profile

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