Revision c0dba325
Added by Patrick Plitzner over 8 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/handler/MoveDescriptionElementsHandler.java | ||
---|---|---|
55 | 55 |
public class MoveDescriptionElementsHandler extends AbstractHandler implements IPostOperationEnabled{ |
56 | 56 |
private UUID newAcceptedTaxonNodeUuid; |
57 | 57 |
private TaxonNameEditor editor; |
58 |
/* (non-Javadoc) |
|
59 |
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) |
|
60 |
*/ |
|
58 |
|
|
61 | 59 |
@Override |
62 | 60 |
public Object execute(ExecutionEvent event) throws ExecutionException { |
63 | 61 |
|
... | ... | |
123 | 121 |
event.getCommand().getName(), EditorUtil.getUndoContext(), |
124 | 122 |
targetTaxon.getUuid(), moveMessage, elements, false, this); |
125 | 123 |
|
126 |
EditorUtil.executeOperation(operation);
|
|
124 |
AbstractUtility.executeOperation(operation);
|
|
127 | 125 |
|
128 | 126 |
//CdmStore.getService(ITaxonService.class).saveOrUpdate(targetTaxon); |
129 | 127 |
|
... | ... | |
136 | 134 |
return null; |
137 | 135 |
} |
138 | 136 |
|
139 |
/* (non-Javadoc) |
|
140 |
* @see eu.etaxonomy.taxeditor.operations.IPostOperationEnabled#postOperation(eu.etaxonomy.cdm.model.common.CdmBase) |
|
141 |
*/ |
|
142 | 137 |
/** {@inheritDoc} */ |
143 | 138 |
@Override |
144 | 139 |
public boolean postOperation(CdmBase objectAffectedByOperation) { |
... | ... | |
173 | 168 |
|
174 | 169 |
@Override |
175 | 170 |
public boolean onComplete() { |
176 |
// TODO Auto-generated method stub |
|
177 | 171 |
return false; |
178 | 172 |
} |
179 | 173 |
|
Also available in: Unified diff
Trim code