Project

General

Profile

Revision 89303661

ID893036616a99fd65f8ebee64df53d30cd56e56de
Parent 909ddfb3
Child 013b0f6f

Added by Katja Luther over 1 year ago

adapt deleteHandler in nameEditor to partial and pro parte misapplied names

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/DeleteTaxonBaseHandlerE4.java
130 130
    		} else if (selectedElement instanceof Taxon ){
131 131
    		    if (selectedElement instanceof Taxon &&((Taxon) selectedElement).isProparteSynonym() ) {
132 132
                    editor.getTaxon().removeTaxon((Taxon)selectedElement, TaxonRelationshipType.PRO_PARTE_SYNONYM_FOR());
133
                    editor.getTaxon().removeTaxon((Taxon)selectedElement, TaxonRelationshipType.PARTIAL_SYNONYM_FOR());
133 134
                }else{
134 135
                    editor.getTaxon().removeTaxon((Taxon)selectedElement, TaxonRelationshipType.MISAPPLIED_NAME_FOR());
136
                    editor.getTaxon().removeTaxon((Taxon)selectedElement, TaxonRelationshipType.PRO_PARTE_MISAPPLIED_NAME_FOR());
137
                    editor.getTaxon().removeTaxon((Taxon)selectedElement, TaxonRelationshipType.PARTIAL_MISAPPLIED_NAME_FOR());
135 138
                }
136 139
    		    editor.getEditorInput().addTaxonBaseToDelete((TaxonBase)selectedElement,deleteConfig);
137 140
    		    editor.setDirty();

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)