Revision 98c7c2f1
Added by U-BGBM\k.luther over 8 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TreeNodeDropAdapter.java | ||
---|---|---|
235 | 235 |
logger.error("Workspace undo context is null. DND operation cancelled"); |
236 | 236 |
return false; |
237 | 237 |
} |
238 |
TaxonNode targetNode = (TaxonNode) targetITaxonTreeNode; |
|
238 | 239 |
|
239 | 240 |
AbstractPostOperation operation = new MoveTaxonOperation |
240 |
("Move Taxon", workspaceUndoContext, uuids, targetITaxonTreeNode, this, taxonNavigator, false);
|
|
241 |
("Move Taxon", workspaceUndoContext, uuids, targetNode.getParent(), this, taxonNavigator, false);
|
|
241 | 242 |
NavigationUtil.executeOperation(operation); |
242 | 243 |
|
243 | 244 |
logger.info("Moved taxa to new parent " + targetITaxonTreeNode); |
Also available in: Unified diff
moving taxonnode with drag & drop as predecessor fixed