TaxonNode newAcceptedTaxonNode = TaxonNodeSelectionDialog.select(shell,
Messages.MoveDescriptionElementsHandler_CHOOSE_ACC_TAXON,
excludeTaxa,
- null, classification.getUuid()
+ null, classificationUuid
);
if (newAcceptedTaxonNode != null){
Taxon targetTaxon = newAcceptedTaxonNode.getTaxon();
menuItem.getLocalizedLabel(), EditorUtil.getUndoContext(),
targetTaxon.getUuid(), moveMessage, elements, false, this, null);
editor.getEditorInput().addOperation(operation);
+ for (DescriptionElementBase element: elements)
+ {
+ element.getInDescription().removeElement(element);
+ }
+ editor.redraw();
editor.setDirty();
+
//AbstractUtility.executeOperation(operation, sync);
}
}