for (IScalarTarget widget : widgets) {
if (widget instanceof INumberComponent) {
INumberComponent iNumberComponent = (INumberComponent) widget;
setWidgetModel(iNumberComponent, numberBox, key);
} else if (widget instanceof ITextComponent) {
ITextComponent iTextComponent = (ITextComponent) widget;
setWidgetModel(iTextComponent, stringBox, key);
if (widget instanceof StringButton) {
((StringButton) widget).setText(name);
}
} else if (widget instanceof IBooleanComponent) {