Project

General

Profile

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