Uses of Class
org.eclipse.core.databinding.ValidationStatusProvider
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
Provides the core APIs for validation.
Provides classes that bridge between data binding and the JFace Fieldassist framework.
-
Uses of ValidationStatusProvider in org.eclipse.core.databinding
Modifier and TypeClassDescriptionclass
This abstract class represents a binding between a model and a target.class
ListBinding<M,
T> class
SetBinding<M,
T> Modifier and TypeMethodDescriptionDataBindingContext.getValidationStatusProviders()
Returns an unmodifiableIObservableList
of all validation status providers in order by time of addition.BindingProperties.models()
Returns anIListProperty
for observing the models of aValidationStatusProvider
.BindingProperties.targets()
Returns anIListProperty
for observing the targets of aValidationStatusProvider
.BindingProperties.validationStatus()
Returns anIValueProperty
for observing the validation status of aValidationStatusProvider
.BindingProperties.validationStatusProviders()
Returns anIListProperty
for observing the validation status providers of aDataBindingContext
.Modifier and TypeMethodDescriptionvoid
DataBindingContext.addValidationStatusProvider
(ValidationStatusProvider validationStatusProvider) Adds the given validation status provider to this data binding context.boolean
DataBindingContext.removeValidationStatusProvider
(ValidationStatusProvider validationStatusProvider) Removes the validation status provider.Modifier and TypeMethodDescriptionstatic IStatus
AggregateValidationStatus.getStatusMaxSeverity
(Collection<? extends ValidationStatusProvider> validationStatusProviders) Returns a status that always returns the most severe status from the given validation status providers.static IStatus
AggregateValidationStatus.getStatusMerged
(Collection<? extends ValidationStatusProvider> validationStatusProviders) Returns a status object that merges multiple non-OK status objects in aMultiStatus
.ModifierConstructorDescriptionAggregateValidationStatus
(IObservableCollection<? extends ValidationStatusProvider> validationStatusProviders, int strategy) AggregateValidationStatus
(Realm realm, IObservableCollection<? extends ValidationStatusProvider> validationStatusProviders, int strategy) -
Uses of ValidationStatusProvider in org.eclipse.core.databinding.validation
Modifier and TypeClassDescriptionclass
A validator for cross-constraints between observables. -
Uses of ValidationStatusProvider in org.eclipse.jface.databinding.dialog
Modifier and TypeMethodDescriptionIValidationMessageProvider.getMessage
(ValidationStatusProvider statusProvider) Returns the validation message text for the given validation status provider.ValidationMessageProvider.getMessage
(ValidationStatusProvider statusProvider) Returns themessage
of theIStatus
contained in the providedvalidationStatusProvider
as is ornull
if thevalidationStatusProvider
is itselfnull
.int
IValidationMessageProvider.getMessageType
(ValidationStatusProvider statusProvider) Returns the validation message type as one of the constants defined inIMessageProvider
for the given validation status provider.int
ValidationMessageProvider.getMessageType
(ValidationStatusProvider statusProvider) Returns the message type defined inIMessageProvider
which naturally maps to theIStatus.getSeverity()
of theIStatus
contained in the providedvalidationStatusProvider
. -
Uses of ValidationStatusProvider in org.eclipse.jface.databinding.fieldassist
Modifier and TypeMethodDescriptionstatic ControlDecorationSupport
ControlDecorationSupport.create
(ValidationStatusProvider validationStatusProvider, int position) Creates a ControlDecorationSupport which observes the validation status of the specifiedValidationStatusProvider
, and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(ValidationStatusProvider validationStatusProvider, int position, Composite composite) Creates a ControlDecorationSupport which observes the validation status of the specifiedValidationStatusProvider
, and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.static ControlDecorationSupport
ControlDecorationSupport.create
(ValidationStatusProvider validationStatusProvider, int position, Composite composite, ControlDecorationUpdater updater) Creates a ControlDecorationSupport which observes the validation status of the specifiedValidationStatusProvider
, and displays aControlDecoration
over the underlying SWT control of all target observables that implementISWTObservable
orIViewerObservable
.