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