Project

General

Profile

« Previous | Next » 

Revision fc3c16d6

Added by Katja Luther about 5 years ago

ref #8234: update editor after removing description element

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/e4/handler/MoveDescriptionElementsHandlerE4.java
152 152
        TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(shell,
153 153
                Messages.MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON,
154 154
                excludeTaxa,
155
                null, classification.getUuid()
155
                null, classificationUuid
156 156
                );
157 157
        if (newAcceptedTaxonNode != null){
158 158
            Taxon targetTaxon = newAcceptedTaxonNode.getTaxon();
......
182 182
                    menuItem.getLocalizedLabel(), EditorUtil.getUndoContext(),
183 183
                    targetTaxon.getUuid(), moveMessage, elements, false, this, null);
184 184
            editor.getEditorInput().addOperation(operation);
185
            for (DescriptionElementBase element: elements)
186
            {
187
                element.getInDescription().removeElement(element);
188
            }
189
            editor.redraw();
185 190
            editor.setDirty();
191

  
186 192
            //AbstractUtility.executeOperation(operation, sync);
187 193
        }
188 194
    }

Also available in: Unified diff