Package org.eclipse.core.databinding.observable.value

Examples of org.eclipse.core.databinding.observable.value.ComputedValue


   *            {@link #MAX_SEVERITY}.
   */
  public AggregateValidationStatus(final IObservableCollection bindings,
      int strategy) {
    if (strategy == MERGED) {
      implementation = new ComputedValue(IStatus.class) {
        protected Object calculate() {
          return getStatusMerged(bindings);
        }
      };
    } else {
      implementation = new ComputedValue(IStatus.class) {
        protected Object calculate() {
          return getStatusMaxSeverity(bindings);
        }
      };
    }
View Full Code Here

TOP

Related Classes of org.eclipse.core.databinding.observable.value.ComputedValue

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.