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