Project

General

Profile

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