FormUtil bulk method setDisabled
FormUtil.setDisabled
Form controls support setDisabled (executionContext.getFormContext().getControl(attr1).setDisabled(true/false).
On a form you may want to do it in a bulk way. This is possible using the FormUtil class.
FormUtil.setDisabled(executionContext, true/false, [attr1, attt2, attr3, etc]);