ref #6913 Remove e3 plugin extensions
[taxeditor.git] / eu.etaxonomy.taxeditor.editor / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4 <extension
5 id="application"
6 point="org.eclipse.core.runtime.applications">
7 <application>
8 <run
9 class="eu.etaxonomy.taxeditor.editor.Application">
10 </run>
11 </application>
12 </extension>
13 <extension
14 point="org.eclipse.core.runtime.adapters">
15 <factory
16 adaptableType="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor"
17 class="eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditorAdapterFactory">
18 <adapter
19 type="eu.etaxonomy.taxeditor.editor.DuplicateArbitrator">
20 </adapter>
21 </factory>
22 </extension>
23 <extension
24 point="org.eclipse.ui.editors">
25 <editor
26 class="eu.etaxonomy.taxeditor.editor.group.authority.CdmAuthorityEditor"
27 default="false"
28 id="eu.etaxonomy.taxeditor.editor.group.authority"
29 name="%editor.name.4">
30 </editor>
31 </extension>
32 <extension
33 point="org.eclipse.ui.views">
34 <view
35 allowMultiple="false"
36 category="eu.etaxonomy.taxeditor.editor.category"
37 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidationProblemsView"
38 icon="icons/edit_16x16.gif"
39 id="eu.etaxonomy.taxeditor.editor.view.validation.problems"
40 name="%view.name.6">
41 </view>
42 </extension>
43
44 <!-- VALIDATION RELATED STUFF -->
45 <extension point="org.eclipse.core.resources.markers" name="%extension.name.0" id="eu.etaxonomy.taxeditor.markers.validationerror">
46 <super type="org.eclipse.core.resources.problemmarker"/>
47 <attribute name="databaseId"/>
48 <attribute name="userFriendlyTypeName"/>
49 <attribute name="userFriendlyDescription"/>
50 <attribute name="userFriendlyFieldName"/>
51 <attribute name="validatorMessage"/>
52 <attribute name="invalidValue"/>
53 <attribute name="validatorClass"/>
54 <attribute name="entityClass"/>
55 <attribute name="entityId"/>
56 <persistent value="false"/>
57 </extension>
58
59 <extension point="org.eclipse.ui.ide.markerSupport">
60 <markerContentGenerator
61 id="eu.etaxonomy.taxeditor.editor.validation.ValidationProblemsMarkerGenerator"
62 name="%markerContentGenerator.name">
63 <markerTypeReference id="eu.etaxonomy.taxeditor.markers.validationerror" />
64
65 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName" visible="true" />
66 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription" visible="true" />
67 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName" visible="true" />
68 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage" visible="true" />
69 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.invalidValue" visible="true" />
70 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.validatorClass" visible="false" />
71 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityClass" visible="false" />
72 <markerFieldReference id="eu.etaxonomy.taxeditor.markers.validation.entityId" visible="false" />
73 </markerContentGenerator>
74
75 <markerField
76 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyTypeNameMarkerField"
77 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyTypeName"
78 name="%marker.field.0">
79 </markerField>
80 <markerField
81 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyDescriptionMarkerField"
82 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyDescription"
83 name="%marker.field.1">
84 </markerField>
85 <markerField
86 class="eu.etaxonomy.taxeditor.editor.view.validation.UserFriendlyFieldNameMarkerField"
87 id="eu.etaxonomy.taxeditor.markers.validation.userFriendlyFieldName"
88 name="%marker.field.2 = Attribute">
89 </markerField>
90 <markerField
91 class="eu.etaxonomy.taxeditor.editor.view.validation.InvalidValueMarkerField"
92 id="eu.etaxonomy.taxeditor.markers.validation.invalidValue"
93 name="%marker.field.3 = Problematic Value">
94 </markerField>
95 <markerField
96 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorMessageMarkerField"
97 id="eu.etaxonomy.taxeditor.markers.validation.validatorMessage"
98 name="%marker.field.4 = Problem description">
99 </markerField>
100 <markerField
101 class="eu.etaxonomy.taxeditor.editor.view.validation.ValidatorClassMarkerField"
102 id="eu.etaxonomy.taxeditor.markers.validation.validatorClass"
103 name="%marker.field.5">
104 </markerField>
105 <markerField
106 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityClassMarkerField"
107 id="eu.etaxonomy.taxeditor.markers.validation.entityClass"
108 name="%marker.field.6">
109 </markerField>
110 <markerField
111 class="eu.etaxonomy.taxeditor.editor.view.validation.EntityIdMarkerField"
112 id="eu.etaxonomy.taxeditor.markers.validation.entityId"
113 name="%marker.field.7">
114 </markerField>
115 </extension>
116
117 <extension
118 point="org.eclipse.ui.elementFactories">
119 <factory
120 class="eu.etaxonomy.taxeditor.editor.TaxonEditorInputFactory"
121 id="eu.etaxonomy.taxeditor.editor.name.taxonEditorInputFactory">
122 </factory>
123 </extension>
124 <extension
125 point="org.eclipse.ui.menus">
126 <menuContribution
127 locationURI="menu:eu.etaxonomy.navigation.menu.new?after=eu.etaxonomy.navigation.menu.new.separator1">
128 <command
129 commandId="eu.etaxonomy.taxeditor.editor.command.new.name"
130 label="%command.label.46"
131 style="push">
132 <visibleWhen
133 checkEnabled="true">
134 <reference
135 definitionId="isCdmStoreConnected">
136 </reference>
137 </visibleWhen>
138 </command>
139 <command
140 commandId="eu.etaxonomy.taxeditor.editor.command.new.reference"
141 label="%command.label.47"
142 style="push">
143 <visibleWhen
144 checkEnabled="true">
145 <reference
146 definitionId="isCdmStoreConnected">
147 </reference>
148 </visibleWhen>
149 </command>
150 <command
151 commandId="eu.etaxonomy.taxeditor.editor.command.new.team"
152 label="%command.label.1"
153 style="push">
154 <visibleWhen
155 checkEnabled="true">
156 <reference
157 definitionId="isCdmStoreConnected">
158 </reference>
159 </visibleWhen>
160 </command>
161 <command
162 commandId="eu.etaxonomy.taxeditor.editor.command.new.person"
163 label="%command.label.2"
164 style="push">
165 <visibleWhen
166 checkEnabled="true">
167 <reference
168 definitionId="isCdmStoreConnected">
169 </reference>
170 </visibleWhen>
171 </command>
172 <separator
173 name="eu.etaxonomy.navigation.menu.new.separator2"
174 visible="true">
175 </separator>
176 <separator
177 name="eu.etaxonomy.navigation.menu.new.separator3"
178 visible="true">
179 </separator>
180 <command
181 commandId="eu.etaxonomy.taxeditor.editor.command.new.datasource"
182 label="%command.label.48"
183 style="push">
184 </command>
185 </menuContribution>
186 <menuContribution
187 locationURI="menu:eu.etaxonomy.taxeditor.menu.showView?before=eu.etaxonomy.taxeditor.store.showViewMenu.internal">
188 <separator
189 name="eu.etaxonomy.taxeditor.store.showViewMenu.validation.separator"
190 visible="true">
191 </separator>
192 <command
193 commandId="org.eclipse.ui.views.showView"
194 label="%command.name.40"
195 style="push">
196 <parameter
197 name="org.eclipse.ui.views.showView.viewId"
198 value="eu.etaxonomy.taxeditor.editor.view.validation.problems">
199 </parameter>
200 <visibleWhen
201 checkEnabled="true">
202 <reference
203 definitionId="isCdmStoreConnected">
204 </reference>
205 </visibleWhen>
206 </command>
207 </menuContribution>
208 <menuContribution
209 locationURI="menu:org.eclipse.ui.main.menu.navigate">
210 <command
211 commandId="eu.etaxonomy.taxeditor.editor.command.openParent"
212 label="%command.label.8"
213 style="push">
214 </command>
215 </menuContribution>
216
217
218
219
220
221
222 <menuContribution
223 allPopups="false"
224 locationURI="popup:bulkeditor.editor?before=eu.etaxonomy.taxeditor.bulkeditor.separator1">
225 <command
226 commandId="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
227 label="%command.label.45"
228 style="push">
229 <visibleWhen>
230 <reference
231 definitionId="isGroupEditor">
232 </reference>
233 </visibleWhen>
234 </command>
235 </menuContribution>
236 <menuContribution
237 allPopups="false"
238 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=eu.etaxonomy.taxeditor.navigation.search.toolbar">
239 <toolbar
240 id="eu.etaxonomy.taxeditor.editor.derivativeViewToolbar">
241 <command
242 commandId="eu.etaxonomy.taxeditor.editor.derivative.listenToSelectionChange"
243 icon="icons/synced.gif"
244 label="%command.label.LINK_WITH_TAXON_SELECTIO"
245 style="toggle">
246 <visibleWhen
247 checkEnabled="true">
248 <with
249 variable="activePartId">
250 <equals
251 value="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
252 </equals>
253 </with>
254 </visibleWhen>
255 </command>
256 </toolbar>
257 </menuContribution>
258 </extension>
259 <extension
260 point="org.eclipse.ui.handlers">
261 <handler
262 class="org.eclipse.ui.internal.handlers.NewEditorHandler"
263 commandId="org.eclipse.ui.window.newEditor">
264 <activeWhen>
265 <not>
266 <instanceof
267 value="eu.etaxonomy.taxeditor.editor.name.TaxonNameEditor">
268 </instanceof>
269 </not>
270 </activeWhen>
271 <enabledWhen>
272 <count
273 value="-1">
274 </count>
275 </enabledWhen>
276 </handler>
277 </extension>
278 <extension
279 name="%extension.name"
280 point="org.eclipse.ui.commands">
281 <category
282 id="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
283 name="%category.name.0">
284 </category>
285 <command
286 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
287 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenParentHandler"
288 id="eu.etaxonomy.taxeditor.editor.command.openParent"
289 name="%command.name">
290 </command>
291 <!-- <command
292 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.MoveTaxonHandler"
293 id="eu.etaxonomy.taxeditor.editor.name.moveTaxon"
294 name="Move Taxon">
295 </command>-->
296 <!-- <command
297 categoryId="eu.etaxonomy.taxeditor.editor.taxon.name.command.category"
298 defaultHandler="eu.etaxonomy.taxeditor.editor.name.handler.ChangeAcceptedTaxonToSynonymHandler"
299 id="eu.etaxonomy.taxeditor.editor.name.changeAcceptedToSynonym"
300 name="Change Accepted Taxon to Synonym">
301 </command>-->
302 <category
303 id="eu.etaxonomy.taxeditor.editor.view.descriptive.command.category"
304 name="%category.name.1">
305 </category>
306 <category
307 id="eu.etaxonomy.taxeditor.editor.view.uses.command.category"
308 name="%category.name.2">
309 </category>
310 <category
311 id="eu.etaxonomy.taxeditor.editor.media.category"
312 name="%category.name.3">
313 </category>
314
315 <category
316 id="eu.etaxonomy.taxeditor.editor.new.category"
317 name="%category.name.4">
318 </category>
319 <command
320 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
321 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewReferenceHandler"
322 id="eu.etaxonomy.taxeditor.editor.command.new.reference"
323 name="%command.name.23">
324 </command>
325 <command
326 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
327 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewNameHandler"
328 id="eu.etaxonomy.taxeditor.editor.command.new.name"
329 name="%command.name.24">
330 </command>
331 <command
332 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
333 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewTeamHandler"
334 id="eu.etaxonomy.taxeditor.editor.command.new.team"
335 name="%command.name.25">
336 </command>
337 <command
338 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
339 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.create.NewPersonHandler"
340 id="eu.etaxonomy.taxeditor.editor.command.new.person"
341 name="%command.name.26">
342 </command>
343 <category
344 id="eu.etaxonomy.taxeditor.editor.view.concept.category"
345 name="%category.name.6">
346 </category>
347 <category
348 id="eu.etaxonomy.taxeditor.bulkeditor.group.category"
349 name="%category.name.7">
350 </category>
351 <command
352 categoryId="eu.etaxonomy.taxeditor.bulkeditor.group.category"
353 defaultHandler="eu.etaxonomy.taxeditor.editor.group.authority.handler.EditCdmAuthoritiesHandler"
354 id="eu.etaxonomy.taxeditor.group.cdmauthorities.edit"
355 name="%command.name.34">
356 </command>
357 <command
358 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
359 name="%command.name.38">
360 <commandParameter
361 id="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler.uuid"
362 name="taxonNodeUuid"
363 optional="true"
364 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
365 </commandParameter>
366 </command>
367 <command
368 categoryId="eu.etaxonomy.taxeditor.editor.new.category"
369 defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.CreateDataSourceHandler"
370 id="eu.etaxonomy.taxeditor.editor.command.new.datasource"
371 name="%command.name.39">
372 </command>
373 <command
374 id="eu.etaxonomy.taxeditor.editor.handler.showOnlyIndividualAssociations"
375 name="%command.name.41">
376 </command>
377
378 <command
379 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
380 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
381 name="%command.name.OPEN_DERIVATIVE_EDITOR">
382 <commandParameter
383 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditor.uuid"
384 name="Specimen Uuids"
385 optional="true"
386 typeId="eu.etaxonomy.taxeditor.uuidParameterType">
387 </commandParameter>
388 </command>
389 <command
390 defaultHandler="eu.etaxonomy.taxeditor.editor.handler.OpenDerivateViewHandler"
391 id="eu.etaxonomy.taxeditor.editor.openSpecimenEditorFromMenu"
392 name="%command.name.OPEN_DERIVATIVE_EDITOR">
393 </command>
394
395 </extension>
396 <extension
397 point="org.eclipse.core.expressions.definitions">
398 <definition
399 id="nameEditorActive">
400 <with
401 variable="activeEditorId">
402 <equals
403 value="eu.etaxonomy.taxeditor.editor.multipagetaxonview">
404 </equals>
405 </with>
406 </definition>
407 <definition
408 id="isAcceptedTaxon">
409 <with
410 variable="selection">
411 <test
412 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedTaxon">
413 </test>
414 </with>
415 </definition>
416 <definition
417 id="isNotHomotypicSynonymOfAcceptedTaxon">
418 <with
419 variable="selection">
420 <test
421 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotHomotypicSynonymOfAcceptedTaxon">
422 </test>
423 </with>
424 </definition>
425 <definition
426 id="isSynonymInHomotypicalGroupWithMoreSynonyms">
427 <with
428 variable="selection">
429 <test
430 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonymInHomotypicalGroupWithMoreSynonyms">
431 </test>
432 </with>
433 </definition>
434 <definition
435 id="isSynonym">
436 <with
437 variable="selection">
438 <test
439 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isSynonym">
440 </test>
441 </with>
442 </definition>
443 <definition
444 id="isMisapplication">
445 <with
446 variable="selection">
447 <test
448 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isMisapplication">
449 </test>
450 </with>
451 </definition>
452 <definition
453 id="isTaxonBase">
454 <with
455 variable="selection">
456 <test
457 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isTaxonBase">
458 </test>
459 </with>
460 </definition>
461 <definition
462 id="hasEmptyNames">
463 <with
464 variable="selection">
465 <test
466 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.hasEmptyNames">
467 </test>
468 </with>
469 </definition>
470 <definition
471 id="isDeletable">
472 <with
473 variable="selection">
474 <test
475 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDeletable">
476 </test>
477 </with>
478 </definition>
479 <definition
480 id="isMedia">
481 <with
482 variable="selection">
483 <test
484 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isMedia">
485 </test>
486 </with>
487 </definition>
488 <definition
489 id="isTaxonEditor">
490 <with
491 variable="selection">
492 <test
493 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isTaxonEditor">
494 </test>
495 </with>
496 </definition>
497 <definition
498 id="isBulkEditor">
499 <with
500 variable="selection">
501 <test
502 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isBulkEditor">
503 </test>
504 </with>
505 </definition>
506 <definition
507 id="isDerivateEditor">
508 <with
509 variable="selection">
510 <test
511 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDerivateEditor">
512 </test>
513 </with>
514 </definition>
515 <definition
516 id="isDescription">
517 <with
518 variable="selection">
519 <test
520 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescription">
521 </test>
522 </with>
523 </definition>
524 <definition
525 id="isDescriptionElement">
526 <with
527 variable="selection">
528 <test
529 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isDescriptionElement">
530 </test>
531 </with>
532 </definition>
533 <definition
534 id="isFeatureNodeContainer">
535 <with
536 variable="selection">
537 <test
538 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isFeatureNodeContainer">
539 </test>
540 </with>
541 </definition>
542 <definition
543 id="isImageGallery">
544 <with
545 variable="selection">
546 <test
547 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isImageGallery">
548 </test>
549 </with>
550 </definition>
551 <definition
552 id="isAcceptedAndHasNoHomotypicSynonyms">
553 <with
554 variable="selection">
555 <test
556 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isAcceptedAndHasNoHomotypicSynonyms">
557 </test>
558 </with>
559 </definition>
560 <definition
561 id="isIndividualsAssociation">
562 <with
563 variable="selection">
564 <test
565 property="eu.etaxonomy.taxeditor.descriptions.propertyTester.isIndividualsAssociation">
566 </test>
567 </with>
568 </definition>
569 <definition
570 id="isRemoting">
571 <test
572 property="eu.etaxonomy.taxeditor.preference.CdmStorePropertyTester.isRemoting">
573 </test>
574 </definition>
575 <definition
576 id="isKeyNode">
577 <with
578 variable="selection">
579 <test
580 property="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester.isKeyNode">
581 </test>
582 </with>
583 </definition>
584 <definition
585 id="isSequence">
586 <with
587 variable="selection">
588 <test
589 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSequence">
590 </test>
591 </with>
592 </definition>
593 <definition
594 id="isSingleRead">
595 <with
596 variable="selection">
597 <test
598 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSingleRead">
599 </test>
600 </with>
601 </definition>
602 <definition
603 id="isSpecimenOrObservationBase">
604 <with
605 variable="selection">
606 <test
607 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isSpecimenOrObservationBase">
608 </test>
609 </with>
610 </definition>
611 <definition
612 id="isDerivativeEditorLinkedToTaxonSelection">
613 <with
614 variable="activeEditor">
615 <test
616 property="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester.isLinkedWithTaxonSelection">
617 </test>
618 </with>
619 </definition>
620 <definition
621 id="isOrphanedTaxon">
622 <with
623 variable="selection">
624 <test
625 forcePluginActivation="true"
626 property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isOrphaned">
627 </test>
628 </with>
629 </definition>
630 <definition
631 id="isAddDerivateAllowed">
632 <with
633 variable="selection">
634 <test
635 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddDerivateAllowed">
636 </test>
637 </with>
638 </definition>
639 <definition
640 id="isAddMediaAllowed">
641 <with
642 variable="selection">
643 <test
644 property="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester.isAddMediaAllowed">
645 </test>
646 </with>
647 </definition>
648 </extension>
649 <extension
650 point="org.eclipse.core.expressions.propertyTesters">
651 <propertyTester
652 class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
653 id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
654 namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
655 properties="isAcceptedTaxon,isSynonym,isMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
656 type="java.lang.Object">
657 </propertyTester>
658 <propertyTester
659 class="eu.etaxonomy.taxeditor.editor.view.descriptive.handler.DescriptionsMenuPropertyTester"
660 id="eu.etaxonomy.taxeditor.descriptions.propertyTester"
661 namespace="eu.etaxonomy.taxeditor.descriptions.propertyTester"
662 properties="isMedia,isDescription,isDescriptionElement,isDeletable,isFeatureNodeContainer,isImageGallery,isTaxonEditor,isBulkEditor,isDerivateEditor, isIndividualsAssociation"
663 type="java.lang.Object">
664 </propertyTester>
665 <propertyTester
666 class="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
667 id="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
668 namespace="eu.etaxonomy.taxeditor.editor.handler.SpecimenPropertyTester"
669 properties="isSequence,isSingleRead,isSpecimenOrObservationBase,isAddDerivateAllowed,isAddMediaAllowed"
670 type="org.eclipse.jface.viewers.IStructuredSelection">
671 </propertyTester>
672 <propertyTester
673 class="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
674 id="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
675 namespace="eu.etaxonomy.taxeditor.editor.view.derivate.DerivativeEditorPropertyTester"
676 properties="isLinkedWithTaxonSelection"
677 type="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
678 </propertyTester>
679 <propertyTester
680 class="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
681 id="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
682 namespace="eu.etaxonomy.taxeditor.editor.key.polytomous.PolytomousKeyPropertyTester"
683 properties="isKeyNode"
684 type="org.eclipse.jface.viewers.IStructuredSelection">
685 </propertyTester>
686 </extension>
687 <extension
688 point="org.eclipse.ui.bindings">
689 <scheme
690 description="%scheme.description"
691 id="eu.etaxonomy.taxeditor.bindings.scheme.default"
692 name="%scheme.name">
693 </scheme>
694 </extension>
695 <!--extension
696 point="org.eclipse.ui.importWizards">
697 <wizard
698 category="eu.etaxonomy.taxeditor.import.category.cdm"
699 class="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
700 id="eu.etaxonomy.taxeditor.editor.view.dataimport.SpecimenSearchWizard"
701 name="%wizard.name">
702 <description>
703 %wizard.description
704 </description>
705 </wizard>
706 </extension-->
707 <extension
708 point="eu.etaxonomy.taxeditor.store.cdmViewer">
709 <viewCommandMapping
710 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxonNode"
711 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
712 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
713 </viewCommandMapping>
714 <viewCommandMapping
715 commandId="eu.etaxonomy.taxeditor.editor.openTaxonEditorForTaxon"
716 selection="eu.etaxonomy.cdm.model.taxon.TaxonBase"
717 viewerName="%viewCommandMapping.viewerName.NAME_EDITOR">
718 </viewCommandMapping>
719 <viewCommandMapping
720 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
721 selection="eu.etaxonomy.cdm.model.description.IndividualsAssociation"
722 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
723 </viewCommandMapping>
724 <viewCommandMapping
725 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
726 selection="eu.etaxonomy.cdm.model.taxon.TaxonNode"
727 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
728 </viewCommandMapping>
729 <viewCommandMapping
730 commandId="eu.etaxonomy.taxeditor.editor.handler.OpenChecklistViewHandler"
731 selection="eu.etaxonomy.cdm.model.taxon.ITaxonTreeNode"
732 viewerName="%viewCommandMapping.viewerName.CHECKLIST_EDITOR">
733 </viewCommandMapping>
734 <viewCommandMapping
735 commandId="eu.etaxonomy.taxeditor.openSpecimenEditorForTypeSpecimen"
736 selection="eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation"
737 viewerName="%viewCommandMapping.viewerName.SPECIMEN_EDITOR">
738 </viewCommandMapping>
739 <viewCommandMapping
740 commandId="eu.etaxonomy.taxeditor.editor.view.concept.command.open"
741 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
742 viewerName="Name Editor">
743 </viewCommandMapping>
744 <viewCommandMapping
745 commandId="eu.etaxonomy.taxeditor.editor.openBulkEditorForTaxonRelationship"
746 selection="eu.etaxonomy.cdm.model.taxon.TaxonRelationship"
747 viewerName="Bulk Editor">
748 </viewCommandMapping>
749 <viewCommandMapping
750 commandId="eu.etaxonomy.taxeditor.editor.openSpecimenEditor"
751 selection="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase"
752 viewerName="Specimen Editor">
753 </viewCommandMapping>
754 </extension>
755 <extension
756 id="eu.etaxonomy.taxeditor.editor.workbench.model"
757 name="Editor Workbench Model"
758 point="org.eclipse.e4.workbench.model">
759 <fragment
760 apply="always"
761 uri="fragment.e4xmi">
762 </fragment>
763 </extension>
764 </plugin>