field.setValue(value);
return field;
}
private void bindEnabling() {
ToggleButtonActivationConstraint constraint = new ToggleButtonActivationConstraint(activator);
constraint.bind(valueField, true);
valueField.addActivationConstraint(constraint);
constraint.bind(maxThreadsField, false);
maxThreadsField.addActivationConstraint(constraint);
constraint.bind(sourceNodeField, false);
sourceNodeField.addActivationConstraint(constraint);
constraint.bind(targetNodeField, false);
targetNodeField.addActivationConstraint(constraint);
constraint.bind(selectSourceNodeAction);
constraint.bind(selectTargetNodeAction);
}