use of org.knime.workbench.editor2.commands.NewBendpointDeleteCommand in project knime-core by knime.
the class ConnectionBendpointEditPolicy method getDeleteBendpointCommand.
/**
* {@inheritDoc}
*/
protected Command getDeleteBendpointCommand(final BendpointRequest req) {
// get the index of the bendpoint to delete
int index = req.getIndex();
ConnectionContainerEditPart editPart = (ConnectionContainerEditPart) getHost();
WorkflowManager wfm = getWorkflowManager();
return new NewBendpointDeleteCommand(editPart, wfm, index);
}
Aggregations