Examples of MenuItemEnabledObservableValue


Examples of org.eclipse.e4.xwt.internal.databinding.menuitem.MenuItemEnabledObservableValue

      // TODO https://bugs.eclipse.org/bugs/show_bug.cgi?id=280157
      // testcase:
      // org.eclipse.e4.xwt.tests.databinding.bindcontrol.BindMenuItem
      //
      if (ENABLED.equalsIgnoreCase(propertyName)) {
        return new MenuItemEnabledObservableValue((MenuItem) object);
      } else if (SELECTION.equalsIgnoreCase(propertyName)) {
        return new MenuItemSelectionObservableValue((MenuItem) object);
      }
    } else if (object instanceof Control) {
      return observePropertyValue((Control) object, propertyName, updateSourceTrigger);
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.