this.controller = controller;
}
public boolean delete(EmailWrapperNode node) {
if (!isConflict(node)) {
UndoableEdit edit = new OperationActivityNodeDeletedEdit(controller, node);
controller.getGraph().getModel().getModeledFlow().deleteEmail(node.getDataObject());
controller.fireGraphDataEdit(edit);
return true;
}
return false;