public void populate(FormItemRepresentation rep) throws FormBuilderException {
if (!(rep instanceof BorderPanelRepresentation)) {
throw new FormBuilderException(i18n.RepNotOfType(rep.getClass().getName(), "BorderPanelRepresentation"));
}
super.populate(rep);
BorderPanelRepresentation brep = (BorderPanelRepresentation) rep;
Map<Position, FormItemRepresentation> repItems = brep.getItems();
if (repItems != null) {
for (Map.Entry<Position, FormItemRepresentation> entry : repItems.entrySet()) {
Position key = entry.getKey();
FBFormItem value = super.createItem(entry.getValue());
this.currentPosition = key;