// If this is read only information item.
if (items[i] instanceof IInfoFormItem) {
// Creating control.
InfoDataControl ctrl = new InfoDataControl();
// Binding row and column to control.
ctrl.bind(dataRow, ((IInfoFormItem) items[i]).getDataColumn());
addedControl = ctrl;
} else
// Throwing exception for unknown item type.
throw new NotImplementedFeatureException(
"Can't build control for type "