Revision 6c511765
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/operation/RemotingMoveTaxonOperation.java | ||
---|---|---|
18 | 18 |
import eu.etaxonomy.cdm.api.application.CdmChangeEvent.Action; |
19 | 19 |
import eu.etaxonomy.cdm.api.service.ITaxonNodeService; |
20 | 20 |
import eu.etaxonomy.cdm.api.service.UpdateResult; |
21 |
import eu.etaxonomy.cdm.model.taxon.TaxonNode; |
|
21 | 22 |
import eu.etaxonomy.taxeditor.operation.RemotingCdmUpdateOperation; |
22 | 23 |
|
23 | 24 |
/** |
... | ... | |
44 | 45 |
this.moveToParentNode = moveToParentNode; |
45 | 46 |
} |
46 | 47 |
|
48 |
public RemotingMoveTaxonOperation(Object source, |
|
49 |
boolean async, |
|
50 |
TaxonNode taxonNodeToMove, |
|
51 |
TaxonNode newParentTreeNode, |
|
52 |
boolean moveToParentNode) { |
|
53 |
super(LABEL, Action.Update, source,async); |
|
54 |
this.taxonNodeToMoveUuid = taxonNodeToMove.getUuid(); |
|
55 |
this.newParentTreeNodeUuid = newParentTreeNode.getUuid(); |
|
56 |
this.moveToParentNode = moveToParentNode; |
|
57 |
} |
|
58 |
|
|
47 | 59 |
/* (non-Javadoc) |
48 | 60 |
* @see eu.etaxonomy.taxeditor.operation.RemotingCdmUpdateOperation#doUpdateExecute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable) |
49 | 61 |
*/ |
Also available in: Unified diff
#5007 : Integrated remoting handler / operations for taxon navigator ui