//
gridObserve = (ObserveInfo) target;
modelProperty = (ObserveInfo) itargetProperty;
}
//
FormBindingInfo formBinding = new FormBindingInfo(widgetObserve, targetProperty);
formBinding.setModel(gridObserve, modelProperty);
return formBinding;
}
//
if (target instanceof WidgetObserveInfo) {
beanObserve = (BeanObserveInfo) model;
modelProperty = (ObserveInfo) imodelProperty;
//
widgetObserve = (WidgetObserveInfo) target;
targetProperty = (ObserveInfo) itargetProperty;
} else {
beanObserve = (BeanObserveInfo) target;
modelProperty = (ObserveInfo) itargetProperty;
//
widgetObserve = (WidgetObserveInfo) model;
targetProperty = (ObserveInfo) imodelProperty;
}
//
if (modelProperty == beanObserve.getSelfProperty()) {
if (widgetObserve.isFormPanel()) {
FormBindingInfo formBinding = new FormBindingInfo(widgetObserve, targetProperty);
formBinding.setModel(beanObserve, modelProperty);
return formBinding;
}
if (widgetObserve instanceof BindingsWidgetObserveInfo) {
BindingsInfo bindings = new BindingsInfo();
bindings.setTarget(widgetObserve, targetProperty);