Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.store / plugin.xml @ fd907381

History | View | Annotate | Download (39.6 KB)

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.menus">
7
      <menuContribution
8
            locationURI="menu:eu.etaxonomy.taxeditor.workbench.menu.file?after=eu.etaxonomy.taxeditor.application.filemenu.io">
9
         <command
10
               commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
11
               label="%command.label.CONNECT"
12
               style="push">
13
         </command>
14
         <command
15
               commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
16
               label="%command.label.5"
17
               style="push">
18
            <visibleWhen
19
                  checkEnabled="true">
20
               <reference
21
                     definitionId="isUserLoggedIn">
22
               </reference>
23
            </visibleWhen>
24
         </command>
25
         <command
26
               commandId="eu.etaxonomy.taxeditor.store.operations.reconnect"
27
               label="%command.label.RE_CONNECT"
28
               style="push">
29
            <visibleWhen
30
                  checkEnabled="true">
31
               <reference
32
                     definitionId="isUserLoggedIn">
33
               </reference>
34
            </visibleWhen>
35
         </command>
36
         <command
37
               commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
38
               label="%command.label.CHANGE_PASSWORD"
39
               style="push">
40
            <visibleWhen
41
                  checkEnabled="true">
42
               <reference
43
                     definitionId="isUserLoggedIn">
44
               </reference>
45
            </visibleWhen>
46
         </command>
47
         <separator
48
               name="eu.etaxonomy.taxeditor.application.filemenu.login"
49
               visible="true">
50
         </separator>
51
      </menuContribution>
52
      <menuContribution
53
            locationURI="toolbar:org.eclipse.ui.trim.status">
54
         <toolbar
55
               id="eu.etaxonomy.taxeditor.store.authentication.trim.toolbar">
56
            <control
57
                  class="eu.etaxonomy.taxeditor.ui.bar.AuthenticatedUserBar">
58
            </control>
59
         </toolbar>
60
      </menuContribution>
61
   </extension>
62
   <extension
63
         point="org.eclipse.ui.handlers">
64
      <handler
65
            class="eu.etaxonomy.taxeditor.view.datasource.handler.DeleteDataSourceHandler"
66
            commandId="eu.etaxonomy.taxeditor.view.datasource.delete">
67
         <activeWhen>
68
            <with
69
                  variable="activePartId">
70
               <equals
71
                     value="eu.etaxonomy.taxeditor.view.datasource">
72
               </equals>
73
            </with>
74
         </activeWhen>
75
      </handler>
76
      <handler
77
            class="eu.etaxonomy.taxeditor.editor.definedterm.handler.DeleteTermBaseHandler"
78
            commandId="eu.etaxonomy.taxeditor.editor.definedTerms.delete">
79
         <activeWhen>
80
            <with
81
                  variable="activePartId">
82
               <equals
83
                     value="eu.etaxonomy.taxeditor.editor.definedTerm">
84
               </equals>
85
            </with>
86
         </activeWhen>
87
      </handler>
88
      <handler
89
            class="eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler"
90
            commandId="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow">
91
      </handler>
92
      <handler
93
            class="eu.etaxonomy.taxeditor.handler.OpenPasswordWizzardHandler"
94
            commandId="eu.etaxonomy.taxeditor.store.openPasswordWizzard">
95
         <enabledWhen>
96
            <reference
97
                  definitionId="isUserLoggedIn">
98
            </reference></enabledWhen>
99
      </handler>
100
      <handler
101
            class="eu.etaxonomy.taxeditor.handler.OpenDistributionEditorWizardHandler"
102
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler">
103
         <activeWhen>
104
            <reference
105
                  definitionId="hasROLE_PROJECT_MANAGER">
106
            </reference>
107
         </activeWhen>
108
      </handler>
109
       <handler
110
            class="eu.etaxonomy.taxeditor.handler.OpenImportPreferenceHandler"
111
            commandId="eu.etaxonomy.taxeditor.store.open.OpenImportPreferenceHandler">
112
            <activeWhen>
113
            <reference
114
                  definitionId="hasROLE_PROJECT_MANAGER">
115
            </reference>
116
         </activeWhen>
117
      </handler>
118
      <handler
119
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
120
            commandId="eu.etaxonomy.taxeditor.store.operations.showLoginWindow">
121
         <activeWhen>
122
            <reference
123
                  definitionId="isRemoting">
124
            </reference>
125
         </activeWhen>
126
      </handler>
127
   </extension>
128
   <extension
129
         name="%extension.name.0"
130
         point="org.eclipse.ui.commands">
131
      <command
132
            defaultHandler="eu.etaxonomy.taxeditor.handler.ShowLoginWindowHandler"
133
            id="eu.etaxonomy.taxeditor.store.operations.showLoginWindow"
134
            name="%command.name.4">
135
      </command>
136
      <command
137
            id="eu.etaxonomy.taxeditor.store.operations.showRemotingLoginWindow"
138
            name="%command.name.CONNECT">
139
      </command>
140
      <command
141
            defaultHandler="eu.etaxonomy.taxeditor.handler.ReconnectHandler"
142
            id="eu.etaxonomy.taxeditor.store.operations.reconnect"
143
            name="%command.name.RE_CONNECT">
144
      </command>
145
      <command
146
            id="eu.etaxonomy.taxeditor.store.openPasswordWizzard"
147
            name="%command.name.10">
148
      </command>
149
      <command
150
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
151
            name="%command.name.11">
152
      </command>
153
      <command
154
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
155
            id="eu.etaxonomy.taxeditor.datasource.connect"
156
            name="%command.name.12">
157
      </command>
158
      <command
159
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenInspectSessionsHandler"
160
            id="eu.etaxonomy.taxeditor.store.open.InspectSessionsDialog"
161
            name="%command.name.INSPECT_ACTIVE_SESSIONS">
162
      </command>
163
      <command
164
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenHandler"
165
            id="eu.etaxonomy.taxeditor.store.open"
166
            name="%command.name.15">
167
      </command>
168
   </extension>
169
   <extension
170
         point="org.eclipse.ui.commands">
171
      <commandParameterType
172
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
173
            id="eu.etaxonomy.taxeditor.uuidParameterType"
174
            type="java.util.UUID">
175
      </commandParameterType>
176
      <commandParameterType
177
            converter="eu.etaxonomy.taxeditor.handler.UuidsParameterTypeConverter"
178
            id="eu.etaxonomy.taxeditor.uuidsParameterType"
179
            type="java.util.List">
180
      </commandParameterType>
181
   </extension>
182
   <extension
183
         point="org.eclipse.ui.exportWizards">
184
      <category
185
            id="eu.etaxonomy.taxeditor.export.category.cdm"
186
            name="%category.name.0">
187
      </category>
188
      <wizard
189
            category="eu.etaxonomy.taxeditor.export.category.cdm"
190
            class="eu.etaxonomy.taxeditor.io.wizard.JaxbExportWizard"
191
            id="eu.etaxonomy.taxeditor.io.export.jaxb"
192
            name="%wizard.name.6">
193
      </wizard>
194
      <!--<wizard
195
            category="eu.etaxonomy.taxeditor.export.category.cdm"
196
            class="eu.etaxonomy.taxeditor.io.wizard.BerlinModelExportWizard"
197
            id="eu.etaxonomy.taxeditor.io.export.berlinModel"
198
            name="%wizard.name.7">
199
      </wizard>-->
200
      <category
201
            id="eu.etaxonomy.taxeditor.export.category.excel"
202
            name="%category.name.1">
203
      </category>
204
      <wizard
205
            category="eu.etaxonomy.taxeditor.export.category.cdm"
206
            class="eu.etaxonomy.taxeditor.io.wizard.SddExportWizard"
207
            id="eu.etaxonomy.taxeditor.io.export.sdd"
208
            name="%wizard.name.8">
209
      </wizard>
210
      <wizard
211
            category="eu.etaxonomy.taxeditor.export.category.cdm"
212
            class="eu.etaxonomy.taxeditor.io.wizard.DarwinCoreArchiveExportWizard"
213
            id="eu.etaxonomy.taxeditor.io.export.dwca"
214
            name="%wizard.name.9">
215
      </wizard>
216
      <wizard
217
            category="eu.etaxonomy.taxeditor.export.category.cdm"
218
            class="eu.etaxonomy.taxeditor.io.wizard.CsvNameExportWizard"
219
            id="eu.etaxonomy.taxeditor.io.export.csv_name"
220
            name="%wizard.name.19">
221
      </wizard>
222
      <wizard
223
            category="eu.etaxonomy.taxeditor.export.category.cdm"
224
            class="eu.etaxonomy.taxeditor.io.wizard.CsvPrintExportWizard"
225
            id="eu.etaxonomy.taxeditor.io.export.csv_print"
226
            name="%wizard.name.20">
227
      </wizard>
228
      <wizard
229
            category="eu.etaxonomy.taxeditor.export.category.cdm"
230
            class="eu.etaxonomy.taxeditor.io.wizard.CdmLightExportWizard"
231
            id="eu.etaxonomy.taxeditor.io.export.output_model"
232
            name="%wizard.name.22">
233
      </wizard>
234
   </extension>
235
   <extension
236
         point="org.eclipse.ui.newWizards">
237
      <wizard
238
            category="eu.etaxonomy.taxeditor.new.category.cdm"
239
            class="eu.etaxonomy.taxeditor.newWizard.NewReferenceWizard"
240
            hasPages="true"
241
            id="eu.etaxonomy.taxeditor.new.reference"
242
            name="%wizard.name.10">
243
      </wizard>
244
      <wizard
245
            category="eu.etaxonomy.taxeditor.new.category.cdm"
246
            class="eu.etaxonomy.taxeditor.newWizard.NewNonViralNameWizard"
247
            hasPages="true"
248
            id="eu.etaxonomy.taxeditor.new.nonViralName"
249
            name="%wizard.name.11">
250
      </wizard>
251
      <wizard
252
            category="eu.etaxonomy.taxeditor.new.category.cdm"
253
            class="eu.etaxonomy.taxeditor.newWizard.NewTeamWizard"
254
            hasPages="true"
255
            id="eu.etaxonomy.taxeditor.new.team"
256
            name="%wizard.name.12">
257
      </wizard>
258
      <wizard
259
            category="eu.etaxonomy.taxeditor.new.category.cdm"
260
            class="eu.etaxonomy.taxeditor.newWizard.NewPersonWizard"
261
            hasPages="true"
262
            id="eu.etaxonomy.taxeditor.new.person"
263
            name="%wizard.name.13">
264
      </wizard>
265
      <wizard
266
            category="eu.etaxonomy.taxeditor.new.category.cdm"
267
            class="eu.etaxonomy.taxeditor.newWizard.NewDerivedUnitBaseWizard"
268
            hasPages="true"
269
            id="eu.etaxonomy.taxeditor.new.specimen"
270
            name="%wizard.name.14">
271
      </wizard>
272
      <wizard
273
            category="eu.etaxonomy.taxeditor.new.category.cdm"
274
            class="eu.etaxonomy.taxeditor.newWizard.NewPolytomousKeyWizard"
275
            hasPages="true"
276
            id="eu.etaxonomy.taxeditor.new.key.polytomous"
277
            name="%wizard.name.15">
278
      </wizard>
279
      <category
280
            id="eu.etaxonomy.taxeditor.new.category.cdm"
281
            name="%category.name.2">
282
      </category>
283
      <wizard
284
            category="eu.etaxonomy.taxeditor.new.category.cdm"
285
            class="eu.etaxonomy.taxeditor.newWizard.NewTaxonNodeWizard"
286
            hasPages="true"
287
            id="eu.etaxonomy.taxeditor.new.taxonNode"
288
            name="%wizard.name.16">
289
      </wizard>
290
      <wizard
291
            category="eu.etaxonomy.taxeditor.new.category.cdm"
292
            class="eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard"
293
            hasPages="true"
294
            icon="icons/tree_icon_small.jpg"
295
            id="eu.etaxonomy.taxeditor.new.classification"
296
            name="%wizard.name.17">
297
      </wizard>
298
   </extension>
299
<extension
300
            point="org.eclipse.ui.themes">
301
         <themeElementCategory
302
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
303
               label="%themeElementCategory.label">
304
            <description>
305
               %themeElementCategory.description
306
            </description>
307
         </themeElementCategory>
308
         <colorDefinition
309
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
310
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackground"
311
               label="%colorDefinition.label"
312
               value="150,150,150">
313
         </colorDefinition>
314
         <colorDefinition
315
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
316
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDefault"
317
               label="%colorDefinition.label.0"
318
               value="0,0,0">
319
         </colorDefinition>
320
         <colorDefinition
321
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
322
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeBackground"
323
               label="%colorDefinition.label.1"
324
               value="255,255,255">
325
         </colorDefinition>
326
         <colorDefinition
327
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
328
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.colorCompositeIrrelevant"
329
               label="%colorDefinition.label.2"
330
               value="241,139,18">
331
         </colorDefinition>
332
         <colorDefinition
333
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
334
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textDisabled"
335
               label="%colorDefinition.label.3"
336
               value="150,150,150">
337
         </colorDefinition>
338
         <colorDefinition
339
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
340
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.textBackgroundDisabled"
341
               label="%colorDefinition.label.4"
342
               value="230,230,230">
343
         </colorDefinition>
344
         <themeElementCategory
345
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
346
               label="%themeElementCategory.label.0"
347
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
348
            <description>
349
               %themeElementCategory.description.0
350
            </description>
351
         </themeElementCategory>
352
         <colorDefinition
353
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
354
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundOdd"
355
               label="%colorDefinition.label.5"
356
               value="230,230,230">
357
         </colorDefinition>
358
         <colorDefinition
359
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
360
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.listBackgroundEven"
361
               label="%colorDefinition.label.6"
362
               value="255,255,255">
363
         </colorDefinition>
364
         <themeElementCategory
365
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
366
               label="%themeElementCategory.label.1"
367
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
368
            <description>
369
               %themeElementCategory.description.1
370
            </description>
371
         </themeElementCategory>
372
         <colorDefinition
373
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
374
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerBackground"
375
               label="%colorDefinition.label.7"
376
               value="220, 220, 220">
377
         </colorDefinition>
378
         <colorDefinition
379
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
380
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelectedFocus"
381
               label="%colorDefinition.label.8"
382
               value="232,242,254">
383
         </colorDefinition>
384
         <colorDefinition
385
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
386
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerSelected"
387
               label="%colorDefinition.label.9"
388
               value="210, 210, 210">
389
         </colorDefinition>
390
         <colorDefinition
391
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
392
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.nameEditor.colorContainerDragEnter"
393
               label="%colorDefinition.label.10"
394
               value="185,255,133">
395
         </colorDefinition>
396
         <fontDefinition
397
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
398
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.accepted"
399
               label="%fontDefinition.label"
400
               value="Georgia-regular-12">
401
         </fontDefinition>
402
         <fontDefinition
403
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
404
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.synonym"
405
               label="%fontDefinition.label.0"
406
               value="Georgia-regular-10">
407
         </fontDefinition>
408
         <fontDefinition
409
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
410
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.misapplication"
411
               label="%fontDefinition.label.1"
412
               value="Georgia-regular-10">
413
         </fontDefinition>
414
         <fontDefinition
415
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
416
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.concept"
417
               label="%fontDefinition.label.2"
418
               value="Georgia-regular-10">
419
         </fontDefinition>
420
         <fontDefinition
421
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
422
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.nameEditor.default"
423
               label="%fontDefinition.label.3"
424
               value="Georgia-regular-10">
425
         </fontDefinition>
426
         <themeElementCategory
427
               id="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
428
               label="%themeElementCategory.label.2"
429
               parentId="eu.etaxonomy.taxeditor.preferences.themeElementCategory">
430
            <description>
431
               %themeElementCategory.description.2
432
            </description>
433
         </themeElementCategory>
434
         <colorDefinition
435
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
436
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.foreground"
437
               label="%colorDefinition.label.11"
438
               value="192, 192, 192">
439
         </colorDefinition>
440
         <colorDefinition
441
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
442
               id="eu.etaxonomy.taxeditor.preferences.colorDefinition.searchView.focus"
443
               label="%colorDefinition.label.12"
444
               value="0, 0, 0">
445
         </colorDefinition>
446
         <fontDefinition
447
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
448
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.accepted"
449
               isEditable="true"
450
               label="%fontDefinition.label.4"
451
               value="Arial-regular-10">
452
            <description>
453
               %fontDefinition.description
454
            </description>
455
         </fontDefinition>
456
         <fontDefinition
457
               categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
458
               id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.synonym"
459
               isEditable="true"
460
               label="%fontDefinition.label.5"
461
               value="Arial-italic-10">
462
         <description>
463
            %fontDefinition.description.0
464
         </description>
465
      </fontDefinition>
466
      <fontDefinition
467
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.searchView"
468
            id="eu.etaxonomy.taxeditor.preferences.fontDefinition.searchView.other"
469
            isEditable="true"
470
            label="%fontDefinition.label.6"
471
            value="Lucida Grande-regular-11">
472
         <description>
473
            %fontDefinition.description.1
474
         </description>
475
      </fontDefinition>
476
      <colorDefinition
477
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.detailsView"
478
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.parseError"
479
            label="%colorDefinition.label.13"
480
            value="255,0,0">
481
      </colorDefinition>
482
      <colorDefinition
483
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory.nameEditor"
484
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.disabledEditor"
485
            label="%colorDefinition.label.14"
486
            value="105,114,124">
487
      </colorDefinition>
488
      <colorDefinition
489
            categoryId="eu.etaxonomy.taxeditor.preferences.themeElementCategory"
490
            id="eu.etaxonomy.taxeditor.preferences.colorDefinition.editorError"
491
            label="%colorDefinition.label.15"
492
            value="255,0,0">
493
      </colorDefinition>
494
      </extension>
495
<extension
496
      point="org.eclipse.core.expressions.propertyTesters">
497
   <propertyTester
498
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
499
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
500
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
501
         properties="isCompatible"
502
         type="org.eclipse.jface.viewers.IStructuredSelection">
503
   </propertyTester>
504
    <propertyTester
505
         class="eu.etaxonomy.taxeditor.view.datasource.handler.DataSourceMenuPropertyTester"
506
         id="eu.etaxonomy.taxeditor.datasource.propertyTester"
507
         namespace="eu.etaxonomy.taxeditor.datasource.propertyTester"
508
         properties="test, hasDataModel"
509
         type="org.eclipse.jface.viewers.IStructuredSelection">
510
   </propertyTester>
511
   <propertyTester
512
         class="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
513
         id="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
514
         namespace="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester"
515
         properties="isShowExperimentalFeatures, isChecklistEditorEnabled"
516
         type="java.lang.Object">
517
   </propertyTester>
518
   <propertyTester
519
         class="eu.etaxonomy.taxeditor.editor.definedterm.TermBasePropertyTester"
520
         id="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
521
         namespace="eu.etaxonomy.taxeditor.store.termEditor.propertyTester"
522
         properties="isModifiable"
523
         type="org.eclipse.jface.viewers.IStructuredSelection">
524
   </propertyTester>
525
   <propertyTester
526
        class="eu.etaxonomy.taxeditor.security.PermissionPropertyTester"
527
        id="eu.etaxonomy.taxeditor.security.permissionTester"
528
        namespace="eu.etaxonomy.taxeditor.security.permissionTester"
529
        properties="hasPermissions, hasRoles"
530
        type="org.eclipse.jface.viewers.IStructuredSelection">
531
   </propertyTester>
532
</extension>
533
<extension
534
      point="org.eclipse.core.expressions.definitions">
535
   <definition
536
         id="isCompatible">
537
      <with
538
            variable="selection">
539
         <test
540
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.isCompatible">
541
         </test>
542
      </with>
543
   </definition>
544
   <definition
545
         id="hasDataModel">
546
      <with
547
            variable="selection">
548
         <test
549
               property="eu.etaxonomy.taxeditor.datasource.propertyTester.hasDataModel">
550
         </test>
551
      </with>
552
   </definition>
553
   <definition
554
         id="isShowExperimentalFeatures">
555
      <test
556
            property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isShowExperimentalFeatures">
557
      </test>
558
   </definition>
559
   <definition
560
         id="isModifiable">
561
      <with
562
            variable="selection">
563
         <test
564
               property="eu.etaxonomy.taxeditor.store.termEditor.propertyTester.isModifiable">
565
         </test>
566
      </with>
567
   </definition>
568
   <definition
569
            id="canUPDATE">
570
                <with
571
                           variable="selection">
572
                 <test
573
                       args="UPDATE"
574
                       property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
575
                 </test>
576
         </with>
577
      </definition>
578
      <definition
579
            id="canDELETE">
580
         <with
581
               variable="selection">
582
            <test
583
                  args="DELETE"
584
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
585
            </test>
586
         </with>
587
    </definition>
588
      <definition
589
            id="canCREATE">
590
         <with
591
               variable="selection">
592
            <test
593
                  args="CREATE"
594
                  property="eu.etaxonomy.taxeditor.security.permissionTester.hasPermissions">
595
            </test>
596
         </with>
597
      </definition>
598
      <definition
599
            id="isUserLoggedIn">
600
            <with
601
               variable="eu.etaxonomy.taxeditor.security.user">
602
               <instanceof
603
                     value="eu.etaxonomy.cdm.model.common.User">
604
               </instanceof>
605
         </with>
606
      </definition>
607
      <definition
608
            id="hasROLE_USER_MANAGER">
609
            <with
610
               variable="eu.etaxonomy.taxeditor.security.userRoles">
611
            <iterate
612
                  ifEmpty="false"
613
                  operator="or">
614
               <or>
615
                  <equals
616
                        value="ROLE_ADMIN">
617
                  </equals>
618
                  <equals
619
                        value="ROLE_USER_MANAGER">
620
                  </equals>
621
               </or>
622
            </iterate>
623
         </with>
624
      </definition>
625
      <definition
626
            id="hasROLE_PROJECT_MANAGER">
627
         <with
628
               variable="eu.etaxonomy.taxeditor.security.userRoles">
629
            <iterate
630
                  ifEmpty="false"
631
                  operator="or">
632
               <or>
633
                  <equals
634
                        value="ROLE_ADMIN">
635
                  </equals>
636
                  <equals
637
                        value="ROLE_PROJECT_MANAGER">
638
                  </equals>
639
               </or>
640
            </iterate>
641
         </with>
642
      </definition>
643
      <definition
644
            id="hasROLE_PROJECT_MANAGER_AND_isCdmStoreConnected">
645
         <and>
646
            <reference
647
                  definitionId="hasROLE_PROJECT_MANAGER">
648
            </reference>
649
            <reference
650
                  definitionId="isCdmStoreConnected">
651
            </reference>
652
         </and>
653
      </definition>
654
      <definition
655
            id="isChecklistEditorEnabled">
656
         <test
657
               property="eu.etaxonomy.taxeditor.preference.PreferencePropertyTester.isChecklistEditorEnabled">
658
         </test>
659
      </definition>
660
</extension>
661
<extension
662
      point="org.eclipse.ui.activities">
663
   <activity
664
         description="%activity.description"
665
         id="eu.etaxonomy.taxeditor.store.activityDelete"
666
         name="%activity.name">
667
      <enabledWhen>
668
         <reference
669
               definitionId="canDELETE">
670
         </reference>
671
      </enabledWhen>
672
   </activity>
673
   <activityPatternBinding
674
         activityId="eu.etaxonomy.taxeditor.store.activityDelete"
675
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.delete">
676
   </activityPatternBinding>
677
   <activity
678
         description="%activity.description.0"
679
         id="eu.etaxonomy.taxeditor.store.activityUpdate"
680
         name="%activity.name.0">
681
      <enabledWhen>
682
         <reference
683
               definitionId="canUPDATE">
684
         </reference>
685
      </enabledWhen>
686
   </activity>
687
   <activityPatternBinding
688
         activityId="eu.etaxonomy.taxeditor.store.activityUpdate"
689
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.update\..*">
690
   </activityPatternBinding>
691
   <activity
692
         description="%activity.description.1"
693
         id="eu.etaxonomy.taxeditor.store.activityCreate"
694
         name="%activity.name.1">
695
      <enabledWhen>
696
         <reference
697
               definitionId="canDELETE">
698
         </reference>
699
      </enabledWhen>
700
   </activity>
701
   <activityPatternBinding
702
         activityId="eu.etaxonomy.taxeditor.store.activityCreate"
703
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.command\.create\..*">
704
   </activityPatternBinding>
705
   <activity
706
         description="%activity.description.2"
707
         id="eu.etaxonomy.taxeditor.store.activityUserManagement"
708
         name="%activity.name.2">
709
      <enabledWhen>
710
         <reference
711
               definitionId="hasROLE_USER_MANAGER">
712
         </reference>
713
      </enabledWhen>
714
   </activity>
715
   <activityPatternBinding
716
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
717
         pattern="eu\.etaxonomy\.taxeditor\..*/.*.UserManagement">
718
   </activityPatternBinding>
719
   <activityPatternBinding
720
         activityId="eu.etaxonomy.taxeditor.store.activityUserManagement"
721
         pattern="eu\.etaxonomy\.taxeditor\..*/bulkeditor\.input\.group">
722
   </activityPatternBinding>
723
   <activity
724
         description="%activity.description.3"
725
         id="eu.etaxonomy.taxeditor.store.activityProjectManagement"
726
         name="%activity.name.3">
727
      <enabledWhen>
728
         <reference
729
               definitionId="hasROLE_PROJECT_MANAGER">
730
         </reference>
731
      </enabledWhen>
732
   </activity>
733
   <activityPatternBinding
734
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
735
         pattern="eu\.etaxonomy\.taxeditor\..*/eu\.etaxonomy\.taxeditor\..*\.definedTerm.*">
736
   </activityPatternBinding>
737
   <activityPatternBinding
738
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
739
         pattern="eu.etaxonomy.taxeditor.bulkeditor/bulkeditor.menus.openmenu"
740
         isEqualityPattern="true">
741
   </activityPatternBinding>
742
   <activityPatternBinding
743
         activityId="eu.etaxonomy.taxeditor.store.activityProjectManagement"
744
         pattern="eu.etaxonomy.taxeditor.bulkeditor/eu.etaxonomy.taxeditor.editor.definedTerm"
745
         isEqualityPattern="true">
746
   </activityPatternBinding>
747
</extension>
748
<extension
749
      point="org.eclipse.ui.services">
750
   <sourceProvider
751
         provider="eu.etaxonomy.taxeditor.security.AuthenticationSourceProvider">
752
      <variable
753
            name="eu.etaxonomy.taxeditor.security.userRoles"
754
            priorityLevel="workbench">
755
      </variable>
756
   </sourceProvider>
757
</extension>
758
<extension
759
      point="eu.etaxonomy.taxeditor.store.cdmViewer">
760
   <viewCommandMapping
761
         commandId="eu.etaxonomy.taxeditor.command.openClassificationWizard"
762
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
763
         viewerName="%viewCommandMapping.viewerName.CLASSIFICATION_WIZARD">
764
   </viewCommandMapping>
765
   <viewCommandMapping
766
         commandId="eu.etaxonomy.taxeditor.command.openTaxonNodeWizard"
767
         selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
768
         viewerName="%viewCommandMapping.viewerName.TAXON_NODE_WIZARD">
769
   </viewCommandMapping>
770
</extension>
771
<extension
772
      id="eu.etaxonomy.taxeditor.store.workbench.model"
773
      name="Store Workbench Model"
774
      point="org.eclipse.e4.workbench.model">
775
   <fragment
776
         apply="always"
777
         uri="fragment.e4xmi">
778
   </fragment>
779
</extension>
780
<extension
781
      point="eu.etaxonomy.taxeditor.workbench.e4PreferencePages">
782
   <page
783
         category="eu.etaxonomy.taxeditor.preferences.general"
784
         class="eu.etaxonomy.taxeditor.preference.DebugPreferences"
785
         id="eu.etaxonomy.taxeditor.preference.DebugPreferences"
786
         name="%page.name.34">
787
   </page>
788
   <page
789
         class="eu.etaxonomy.taxeditor.preference.TaxonomicEditorGeneralPreferences"
790
         id="eu.etaxonomy.taxeditor.preferences.general"
791
         name="%page.name">
792
   </page>
793
   <page
794
         category="eu.etaxonomy.taxeditor.preferences.general"
795
         class="eu.etaxonomy.taxeditor.preference.NameDetailsViewConfiguration"
796
         id="eu.etaxonomy.taxeditor.preferences.nameDetails"
797
         name="%page.name.36">
798
   </page>
799
   <page
800
         category="eu.etaxonomy.taxeditor.preferences.general"
801
         class="eu.etaxonomy.taxeditor.preference.DescriptionPreferences"
802
         id="eu.etaxonomy.taxeditor.preferences.description"
803
         name="%page.name.0">
804
   </page>
805
   <page
806
         category="eu.etaxonomy.taxeditor.preferences.description"
807
         class="eu.etaxonomy.taxeditor.preference.menu.FeatureMenuPreferences"
808
         id="eu.etaxonomy.taxeditor.preferences.feature"
809
         name="%page.name.1">
810
   </page>
811
   <page
812
         category="eu.etaxonomy.taxeditor.preferences.description"
813
         class="eu.etaxonomy.taxeditor.preference.menu.PresenceAbsenceMenuPreferences"
814
         id="eu.etaxonomy.taxeditor.preferences.distributionStatus"
815
         name="%page.name.2">
816
   </page>
817
   <page
818
         category="eu.etaxonomy.taxeditor.preferences.general"
819
         class="eu.etaxonomy.taxeditor.preference.TaxonomicPreferences"
820
         id="eu.etaxonomy.taxeditor.preferences.taxonomic"
821
         name="%page.name.3">
822
   </page>
823
   <page
824
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
825
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalCodePreferences"
826
         id="eu.etaxonomy.taxeditor.preferences.nomenclatural"
827
         name="%page.name.4">
828
   </page>
829
   <page
830
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
831
         class="eu.etaxonomy.taxeditor.preference.menu.RankMenuPreferences"
832
         id="eu.etaxonomy.taxeditor.preferences.ranks"
833
         name="%page.name.5">
834
   </page>
835
   <page
836
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
837
         class="eu.etaxonomy.taxeditor.preference.menu.NomenclaturalStatusTypeMenuPreferences"
838
         id="eu.etaxonomy.taxeditor.preferences.nomenclaturalStatusType"
839
         name="%page.name.6">
840
   </page>
841
   <page
842
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
843
         class="eu.etaxonomy.taxeditor.preference.menu.NameRelationshipTypeMenuPreferences"
844
         id="eu.etaxonomy.taxeditor.preferences.nameRelationshipType"
845
         name="%page.name.7">
846
   </page>
847
   <page
848
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
849
         class="eu.etaxonomy.taxeditor.preference.menu.TaxonRelationshipTypeMenuPreferences"
850
         id="taxeditor-store.page1"
851
         name="%page.name.8">
852
   </page>
853
   <page
854
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
855
         class="eu.etaxonomy.taxeditor.preference.menu.SpecimenTypeDesignationStatusMenuPreferences"
856
         id="eu.etaxonomy.taxeditor.preferences.specimenTypeDesignationStatus"
857
         name="%page.name.9">
858
   </page>
859
   <page
860
         category="eu.etaxonomy.taxeditor.preferences.taxonomic"
861
         class="eu.etaxonomy.taxeditor.preference.menu.NameTypeDesignationStatusMenuPreferences"
862
         id="eu.etaxonomy.taxeditor.preferences.nameTypeDesignationStatus"
863
         name="%page.name.13">
864
   </page>
865
   <page
866
         category="eu.etaxonomy.taxeditor.preferences.language"
867
         class="eu.etaxonomy.taxeditor.preference.menu.LanguageMenuPreferences"
868
         id="eu.etaxonomy.taxeditor.preferences.languages"
869
         name="%page.name.10">
870
   </page>
871
   <page
872
         category="eu.etaxonomy.taxeditor.preferences.general"
873
         class="eu.etaxonomy.taxeditor.preference.menu.MarkerTypeMenuPreferences"
874
         id="eu.etaxonomy.taxeditor.preferences.markerTypes"
875
         name="%page.name.11">
876
   </page>
877
   <page
878
         category="eu.etaxonomy.taxeditor.preferences.general"
879
         class="eu.etaxonomy.taxeditor.preference.menu.ExtensionTypeMenuPreferences"
880
         id="eu.etaxonomy.taxeditor.preferences.extensionTypes"
881
         name="%page.name.12">
882
   </page>
883
   <page
884
         category="eu.etaxonomy.taxeditor.preferences.description"
885
         class="eu.etaxonomy.taxeditor.preference.menu.NamedAreaTypeMenuPreferences"
886
         id="eu.etaxonomy.taxeditor.preferences.namedAreaType"
887
         name="%page.name.14">
888
   </page>
889
   <page
890
         category="eu.etaxonomy.taxeditor.preferences.general"
891
         class="eu.etaxonomy.taxeditor.preference.MatchingPreferences"
892
         id="eu.etaxonomy.taxeditor.preferences.matching"
893
         name="%page.name.15">
894
   </page>
895
   <page
896
         category="eu.etaxonomy.taxeditor.preferences.matching"
897
         class="eu.etaxonomy.taxeditor.preference.matching.NonViralNameMatchingPreference"
898
         id="eu.etaxonomy.taxeditor.preferences.matching.nonViralName"
899
         name="%page.name.16">
900
   </page>
901
   <page
902
         category="eu.etaxonomy.taxeditor.preferences.matching"
903
         class="eu.etaxonomy.taxeditor.preference.matching.ReferenceMatchingPreference"
904
         id="eu.etaxonomy.taxeditor.preferences.matching"
905
         name="%page.name.17">
906
   </page>
907
   <page
908
         category="eu.etaxonomy.taxeditor.preferences.matching"
909
         class="eu.etaxonomy.taxeditor.preference.matching.TeamOrPersonMatchingPreference"
910
         id="eu.etaxonomy.taxeditor.preferences.matching"
911
         name="%page.name.18">
912
   </page>
913
   <page
914
         category="eu.etaxonomy.taxeditor.preferences.description"
915
         class="eu.etaxonomy.taxeditor.preference.menu.StageMenuPreferences"
916
         id="eu.etaxonomy.taxeditor.preferences.stage"
917
         name="%page.name.19">
918
   </page>
919
   <page
920
         category="eu.etaxonomy.taxeditor.preferences.description"
921
         class="eu.etaxonomy.taxeditor.preference.menu.PreservationMethodMenuPreferences"
922
         id="eu.etaxonomy.taxeditor.preferences.preservationMethod"
923
         name="%page.name.20">
924
   </page>
925
   <page
926
         category="eu.etaxonomy.taxeditor.preferences.feature"
927
         class="eu.etaxonomy.taxeditor.preference.DefaultFeatureTreePreferenecs"
928
         id="eu.etaxonomy.taxeditor.preferences.defaultFeatureTreePreferenecs"
929
         name="%page.name.22">
930
   </page>
931
   <page
932
         category="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
933
         class="eu.etaxonomy.taxeditor.preference.LanguageRepresentationPreferencePage"
934
         id="eu.etaxonomy.taxeditor.preferences.language"
935
         name="%page.name.23">
936
   </page>
937
   <page
938
         category="eu.etaxonomy.taxeditor.preferences.general"
939
         class="eu.etaxonomy.taxeditor.preference.MobotOpenUrlPreferences"
940
         id="eu.etaxonomy.taxeditor.preferences.mobotOpenUrl"
941
         name="%page.name.24">
942
   </page>
943
   <page
944
         category="eu.etaxonomy.taxeditor.preferences.general"
945
         class="eu.etaxonomy.taxeditor.preference.TypeDesignationPreferences"
946
         id="eu.etaxonomy.taxeditor.preferences.typeDesignation"
947
         name="%page.name.25">
948
   </page>
949
   <page
950
         category="eu.etaxonomy.taxeditor.preferences.general"
951
         class="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
952
         id="eu.etaxonomy.taxeditor.preference.SpecimenOrObservationPreferences"
953
         name="%page.name.26">
954
   </page>
955
   <page
956
         category="eu.etaxonomy.taxeditor.preferences.general"
957
         class="eu.etaxonomy.taxeditor.preference.MediaPreferences"
958
         id="eu.etaxonomy.taxeditor.preference.MediaPreferences"
959
         name="%page.name.27">
960
   </page>
961
   <page
962
         category="eu.etaxonomy.taxeditor.preferences.general"
963
         class="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreference"
964
         id="eu.etaxonomy.taxeditor.preference.ChecklistEditorGeneralPreferencePage"
965
         name="%page.name.28">
966
   </page>
967
   <page
968
         category="eu.etaxonomy.taxeditor.preferences.general"
969
         class="eu.etaxonomy.taxeditor.preference.LanguageEditorPreferencePage"
970
         id="eu.etaxonomy.taxeditor.preference.defaultlanguagepditorpreferencePage"
971
         name="%page.name.30">
972
   </page>
973
   <page
974
         category="eu.etaxonomy.taxeditor.preferences.general"
975
         class="eu.etaxonomy.taxeditor.preference.OrderPreferences"
976
         id="eu.etaxonomy.taxeditor.preference.TaxonNavigator"
977
         name="%page.name.32">
978
   </page>
979
</extension>
980
</plugin>
Add picture from clipboard (Maximum size: 40 MB)