Eclipse Platform
Release 3.4

org.eclipse.core.databinding
Class ValidationStatusProvider

java.lang.Object
  extended byorg.eclipse.core.databinding.ValidationStatusProvider
Direct Known Subclasses:
Binding, MultiValidator

public abstract class ValidationStatusProvider
extends Object

A validation status provider tracks the state of zero or more target observables and zero or more model observables and produces a validation result.

Since:
1.1

Field Summary
protected  boolean disposed
           
 
Constructor Summary
ValidationStatusProvider()
           
 
Method Summary
 void dispose()
          Disposes of this ValidationStatusProvider.
abstract  IObservableList getModels()
          Returns the model observables (if any) that are being tracked by this validation status provider.
abstract  IObservableList getTargets()
          Returns the list of target observables (if any) that are being tracked by this validation status provider.
abstract  IObservableValue getValidationStatus()
           
 boolean isDisposed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

disposed

protected boolean disposed
Constructor Detail

ValidationStatusProvider

public ValidationStatusProvider()
Method Detail

getValidationStatus

public abstract IObservableValue getValidationStatus()
Returns:
an observable value containing the current validation status

getTargets

public abstract IObservableList getTargets()
Returns the list of target observables (if any) that are being tracked by this validation status provider.

Returns:
an observable list of target IObservables (may be empty)

getModels

public abstract IObservableList getModels()
Returns the model observables (if any) that are being tracked by this validation status provider.

Returns:
an observable list of model IObservables (may be empty)

dispose

public void dispose()
Disposes of this ValidationStatusProvider. Subclasses may extend, but must call super.dispose().


isDisposed

public boolean isDisposed()
Returns:
true if the binding has been disposed. false otherwise.

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.