use of org.knime.core.node.workflow.WorkflowLock in project knime-core by knime.
the class SubNodeToMetaNodeResult method undo.
/**
* Perform the undo.
*/
public void undo() {
try (WorkflowLock lock = m_wfm.lock()) {
// prevent events to be sent too early
m_wfm.removeNode(m_nodeID);
m_wfm.paste(m_undoPersistor);
}
}
Aggregations