this.controller = controller;
}
public void setPolicy(OperationWrapperNode opNode, SchedulePolicy policy) {
if (doChange(opNode, policy)) {
UndoableEdit edit = new SchedulePolicyEdit(controller, opNode.getDataObject(), policy);
opNode.getDataObject().setSchedulePolicy(policy);
controller.fireGraphDataEdit(edit);
}
}