Project

General

Profile

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