Project

General

Profile

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