Package org.eclipse.core.databinding.observable.map

Examples of org.eclipse.core.databinding.observable.map.IObservableMap


    PropertyObservableUtil.cascadeDispose(detailMap, masterMap);
    return detailMap;
  }

  public IObservableMap observeDetail(IObservableValue master) {
    IObservableMap masterMap;

    ObservableTracker.setIgnore(true);
    try {
      masterMap = masterProperty.observeDetail(master);
    } finally {
      ObservableTracker.setIgnore(false);
    }

    IObservableMap detailMap = detailProperty.observeDetail(masterMap);
    PropertyObservableUtil.cascadeDispose(detailMap, masterMap);
    return detailMap;
  }
View Full Code Here


   *             instead
   */
  public static IObservableMap observeDetailMap(Realm realm,
      IObservableValue master, String propertyName) {
    warnIfDifferentRealms(realm, master.getRealm());
    IObservableMap observableMap = MasterDetailObservables.detailMap(
        master, BeanProperties.map(propertyName).mapFactory(realm));
    return new BeanObservableMapDecorator(observableMap, BeanPropertyHelper
        .getValueTypePropertyDescriptor(master, propertyName));
  }
View Full Code Here

   *             instead
   */
  public static IObservableMap observeDetailMap(Realm realm,
      IObservableValue master, String propertyName) {
    BeansObservables.warnIfDifferentRealms(realm, master.getRealm());
    IObservableMap observableMap = MasterDetailObservables.detailMap(
        master, PojoProperties.map(propertyName).mapFactory(realm));
    return new BeanObservableMapDecorator(observableMap, BeanPropertyHelper
        .getValueTypePropertyDescriptor(master, propertyName));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.core.databinding.observable.map.IObservableMap

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.