ref #9332: further clean up in editor
authorKatja Luther <k.luther@bgbm.org>
Wed, 2 Dec 2020 09:30:18 +0000 (10:30 +0100)
committerKatja Luther <k.luther@bgbm.org>
Wed, 2 Dec 2020 10:35:09 +0000 (11:35 +0100)
eu.etaxonomy.taxeditor.editor/fragment.e4xmi
eu.etaxonomy.taxeditor.editor/plugin.xml
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/deleteConfigurator/DeleteTaxonConfiguratorComposite.java

index cb63e48f9669f63bad317f12f0f760dda4c65697..8b7ddfa051d70f08f34873baf0f3eb78ba66ddf2 100644 (file)
@@ -14,7 +14,7 @@
   <fragments xsi:type="fragment:StringModelFragment" xmi:id="_gSpRsDQDEeeTNOFVGI4q2w" featurename="descriptors" parentElementId="xpath:/">
     <elements xsi:type="basic:PartDescriptor" xmi:id="_gSpRsTQDEeeTNOFVGI4q2w" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView" label="%command.label.DERIVATIVE_EDITOR" iconURI="platform:/plugin/eu.etaxonomy.taxeditor.editor/icons/derivate_view-16x16-32.png" tooltip="%command.label.DERIVATIVE_EDITOR" allowMultiple="true" category="" closeable="true" dirtyable="true" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.DerivateView">
       <tags>View</tags>
-      <tags>nonRestore</tags>
+      <tags>nonRfestore</tags>
       <handlers xmi:id="_E5l4wDVqEee_b7RlBzTDRw" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.CreateFieldUnitHandler" command="_BjF3ADVqEee_b7RlBzTDRw"/>
       <handlers xmi:id="_ha1I4DmBEeeOos_QXKSXcA" elementId="eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.AddSpecimenHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.AddSpecimenHandler" command="_qqMbcDmBEeeOos_QXKSXcA"/>
       <handlers xmi:id="_FOiO0DocEeecLdI14WMq7w" elementId="eu.etaxonomy.taxeditor.editor.view.derivate.handler.AddTissueSampleHandler" contributionURI="bundleclass://eu.etaxonomy.taxeditor.editor/eu.etaxonomy.taxeditor.editor.view.derivate.handler.AddTissueSampleHandler" command="_I2LD4DocEeecLdI14WMq7w"/>
     <elements xsi:type="commands:Command" xmi:id="_ZHC3oLKVEeikjKoOnLFm2w" elementId="eu.etaxonomy.taxeditor.editor.charactermatrix.command.createDefaultTaxonDescription" commandName="%handledmenuitem.label.19"/>
     <elements xsi:type="commands:Command" xmi:id="_fkPkkLKVEeikjKoOnLFm2w" elementId="eu.etaxonomy.taxeditor.editor.charactermatrix.command.createLiteratureTaxonDescription" commandName="%handledmenuitem.label.20"/>
     <elements xsi:type="commands:Command" xmi:id="_Z51sQLy2EeioE565ihOF2g" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.adddescriptionWithSource" commandName="%handledmenuitem.label.18"/>
-    <elements xsi:type="commands:Command" xmi:id="_DlSuULzFEeiaf9p39XS3qw" elementId="eu.etaxonomy.taxeditor.editor.command.createinvaliddesignation" commandName="%command.commandname.22"/>
-    <elements xsi:type="commands:Command" xmi:id="_UQb18LzFEeiaf9p39XS3qw" elementId="eu.etaxonomy.taxeditor.editor.command.changeToInvalidDesignation" commandName="%command.commandname.23"/>
     <elements xsi:type="commands:Command" xmi:id="_tuB4AL9KEemCian_vXpNsA" elementId="eu.etaxonomy.taxeditor.editor.name.swapSynonymAndAcceptedSetNameInSource" commandName="%command.name.611"/>
     <elements xsi:type="commands:Command" xmi:id="_yknsIL9NEemCian_vXpNsA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.e4.handler.MoveDescriptionToOtherTaxonHandlerSetNameInSource" commandName="%command.name.131"/>
     <elements xsi:type="commands:Command" xmi:id="__8WFwL9OEemCian_vXpNsA" elementId="eu.etaxonomy.taxeditor.editor.view.descriptive.command.moveDescriptionElementsSetNameInSource" commandName="%command.name.132"/>
index 99c9c375f4367519053a8850a3134a8e9492c3dd..27078fcdadea4c06672f57c4c8754b5c288b4d0e 100644 (file)
             </test>
          </with>
       </definition>
-      <definition
-            id="isNotInvalidDesignation">
-         <with
-               variable="selection">
-            <test
-                  property="eu.etaxonomy.taxeditor.editor.name.propertyTester.isNotInvalidDesignation">
-            </test>
-         </with>
-      </definition>
       <definition
             id="isTaxonBase">
          <with
             class="eu.etaxonomy.taxeditor.editor.name.handler.NameEditorMenuPropertyTester"
             id="eu.etaxonomy.taxeditor.editor.name.propertyTester"
             namespace="eu.etaxonomy.taxeditor.editor.name.propertyTester"
-            properties="isAcceptedTaxon,isSynonym,isNotSynonym,isMisapplication,isProparteSynonym,isNotProparteSynonym,isNotMisapplication,isNotInvalidDesignation,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isNotAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
+            properties="isAcceptedTaxon,isSynonym,isNotSynonym,isMisapplication,isProparteSynonym,isNotProparteSynonym,isNotMisapplication,isTaxonBase,hasEmptyNames,isAcceptedAndHasNoHomotypicSynonyms,isNotHomotypicSynonymOfAcceptedTaxon,isNotAcceptedTaxon,isSynonymInHomotypicalGroupWithMoreSynonyms,isOrphaned"
             type="java.lang.Object">
       </propertyTester>
       <propertyTester
index e4c31dd58e9fbb4d5b8777cc2b3002922c9a3a8a..1d36b992b34feb2843724d65bc557b4ea2229310 100644 (file)
@@ -122,7 +122,7 @@ public class DeleteTaxonConfiguratorComposite extends DeleteTaxonBaseConfigurato
         m_bindingContext.bindValue(observeSelectionBtnDeleteSynonymsObserveWidget, deleteSynonymsConfiguratorObserveValue, null, null);
 
         IObservableValue observeSelectionbtnDeleteMisappliedNamesObserveWidget = WidgetProperties.selection().observe(btnDeleteMisappliedNames);
-        IObservableValue deleteMisappliedNamesConfiguratorObserveValue = PojoProperties.value("deleteMisappliedNamesAndInvalidDesignationsIfPossible").observe(configurator);
+        IObservableValue deleteMisappliedNamesConfiguratorObserveValue = PojoProperties.value("deleteMisappliedNames").observe(configurator);
         m_bindingContext.bindValue(observeSelectionbtnDeleteMisappliedNamesObserveWidget, deleteMisappliedNamesConfiguratorObserveValue, null, null);
 
         IObservableValue observeSelectionbtnTaxonRelationshipsObserveWidget = WidgetProperties.selection().observe(btnTaxonRelationships);