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

Examples of com.google.gdt.eclipse.designer.gxt.databinding.model.ObserveInfo


    // ignore itself
    if (target == model && targetProperty == modelProperty) {
      return false;
    }
    // prepare ObserveInfo's
    ObserveInfo targetObserve = (ObserveInfo) target;
    ObserveInfo targetPropertyObserve = (ObserveInfo) targetProperty;
    ObserveInfo modelObserve = (ObserveInfo) model;
    ObserveInfo modelPropertyObserve = (ObserveInfo) modelProperty;
    // check over reference's
    if (targetObserve.getReference().equals(modelObserve.getReference())
        && targetPropertyObserve.getReference().equals(modelPropertyObserve.getReference())) {
      return false;
    }
    //
    if (model instanceof BeanObserveInfo && target instanceof BeanObserveInfo) {
      return false;
View Full Code Here


  public IBindingInfo createBinding(IObserveInfo target,
      IObserveInfo itargetProperty,
      IObserveInfo model,
      IObserveInfo imodelProperty) throws Exception {
    BeanObserveInfo beanObserve = null;
    ObserveInfo modelProperty = null;
    WidgetObserveInfo widgetObserve = null;
    ObserveInfo targetProperty = null;
    //
    if (target instanceof WidgetObserveInfo && model instanceof WidgetObserveInfo) {
      ObserveInfo gridObserve = null;
      //
      if (((WidgetObserveInfo) target).isFormPanel()) {
        widgetObserve = (WidgetObserveInfo) target;
        targetProperty = (ObserveInfo) itargetProperty;
        //
View Full Code Here

      WidgetObserveInfo widgetObserve = (WidgetObserveInfo) iobserve;
      return m_context.objectInfo == widgetObserve.getJavaInfo();
    }
    //
    String reference = JavaInfoReferenceProvider.getReference(m_context.javaInfo());
    ObserveInfo observe = (ObserveInfo) iobserve;
    return reference.equals(observe.getReference());
  }
View Full Code Here

  // AbstractObserveProperty
  //
  ////////////////////////////////////////////////////////////////////////////
  @Override
  public void getBindings(List<IBindingInfo> bindings, List<Boolean> isTargets) throws Exception {
    ObserveInfo observeProperty = (ObserveInfo) m_observeProperty;
    bindings.addAll(observeProperty.getBindings());
    //
    for (IBindingInfo binding : bindings) {
      isTargets.add(binding.getTargetProperty() == m_observeProperty);
    }
  }
View Full Code Here

TOP

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

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.