Package org.eclipse.core.databinding
Class ValidationStatusProvider
java.lang.Object
org.eclipse.core.databinding.ValidationStatusProvider
- Direct Known Subclasses:
Binding
,MultiValidator
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes of this ValidationStatusProvider.abstract IObservableList<IObservable>
Returns anIObservableList
containing the model observables (if any) that are being tracked by this validation status provider.abstract IObservableList<IObservable>
Returns anIObservableList
containing the target observables (if any) that are being tracked by this validation status provider.abstract IObservableValue<IStatus>
boolean
-
Field Details
-
disposed
protected boolean disposed
-
-
Constructor Details
-
ValidationStatusProvider
public ValidationStatusProvider()
-
-
Method Details
-
getValidationStatus
- Returns:
- an
IObservableValue
containing the current validation status
-
getTargets
Returns anIObservableList
containing the target observables (if any) that are being tracked by this validation status provider.- Returns:
- an
IObservableList
(may be empty)
-
getModels
Returns anIObservableList
containing the model observables (if any) that are being tracked by this validation status provider.- Returns:
- an
IObservableList
(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.
-