Revision b5b429af
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/handler/CreateChildNodeHandler.java | ||
---|---|---|
58 | 58 |
|
59 | 59 |
AbstractPostOperation operation = new CreateNodeOperation( |
60 | 60 |
label, undoContext, pk.getRoot(), editorPage); |
61 |
AbstractUtility.executeOperation(operation); |
|
62 | 61 |
} catch (NotDefinedException e) { |
63 | 62 |
MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$ |
64 | 63 |
} |
... | ... | |
77 | 76 |
|
78 | 77 |
AbstractPostOperation operation = new CreateNodeOperation( |
79 | 78 |
label, undoContext, keyNode, editorPage); |
80 |
AbstractUtility.executeOperation(operation); |
|
81 | 79 |
} catch (NotDefinedException e) { |
82 | 80 |
MessagingUtils.warn(getClass(), "Command name not set."); //$NON-NLS-1$ |
83 | 81 |
} |
Also available in: Unified diff
ref #6925 Inject context into operations to allow sync/async execution