org.eclipse.core.databinding
Class ValidationStatusProvider
java.lang.Object
org.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
|
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
disposed
protected boolean disposed
ValidationStatusProvider
public ValidationStatusProvider()
getValidationStatus
public abstract
IObservableValue getValidationStatus()
-
-
Returns:
- an
IObservableValue
<
IStatus
> containing
the current validation status
getTargets
public abstract
IObservableList getTargets()
- Returns an
IObservableList
<
IObservable
>
containing the target observables (if any) that are being tracked by this
validation status provider.
-
-
Returns:
- an
IObservableList
<
IObservable
> (may be
empty)
getModels
public abstract
IObservableList getModels()
- Returns an
IObservableList
<
IObservable
>
containing the model observables (if any) that are being tracked by this
validation status provider.
-
-
Returns:
- an
IObservableList
<
IObservable
> (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.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.