Project

General

Profile

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