Project

General

Profile

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