Package org.eclipse.e4.xwt.internal.core

Examples of org.eclipse.e4.xwt.internal.core.BindingGate.bind()


      return source;
    }

    IBindingContext dataBindingContext = getDataBindingContext();
    BindingGate bindingGate = new BindingGate(dataBindingContext);
    bindingGate.bind(sourceWidget, targetWidget, this);
    if (sourceWidget != null) {
      if (targetType != null && !targetType.isInstance(sourceWidget)) {
        return sourceWidget;     
      }
      // convert to final value
View Full Code Here


        if (isSourcePropertyReadOnly()) {
          MenuItem menuItem = (MenuItem) target;
          menuItem.setEnabled(false);
        }
      }
      bindingContext.bind(observableSource, observableWidget, this);
    }

    if (targetType != null && !targetType.isInstance(observableSource)) {
      return observableSource;     
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.