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