Package com.google.gdt.eclipse.designer.gxt.databinding.model.bindings

Examples of com.google.gdt.eclipse.designer.gxt.databinding.model.bindings.FormBindingInfo


        //
        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);
View Full Code Here


      }
      WidgetPropertyObserveInfo targetProperty = target.getSelfProperty();
      Assert.isNotNull(targetProperty);
      //
      if (FORM_BINDING_1.equals(signature) || FORM_BINDING_2.equals(signature)) {
        FormBindingInfo binding = new FormBindingInfo(target, targetProperty);
        //
        if (arguments.length == 2) {
          boolean autobind = CoreUtils.evaluate(Boolean.class, editor, arguments[1]);
          binding.setAutobind(autobind);
        }
        //
        provider.getBindings().add(binding);
        return binding;
      }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.gxt.databinding.model.bindings.FormBindingInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.