Uses of Class
org.eclipse.core.databinding.ValidationStatusProvider
-
Packages that use ValidationStatusProvider Package Description org.eclipse.core.databinding Provides classes for binding observable objects, for example UI widgets and model objects.org.eclipse.core.databinding.validation Provides the core APIs for validation.org.eclipse.jface.databinding.dialog org.eclipse.jface.databinding.fieldassist Provides classes that bridge between data binding and the JFace Fieldassist framework. -
-
Uses of ValidationStatusProvider in org.eclipse.core.databinding
Subclasses of ValidationStatusProvider in org.eclipse.core.databinding Modifier and Type Class Description class
Binding
This abstract class represents a binding between a model and a target.class
ListBinding<M,T>
class
SetBinding<M,T>
Methods in org.eclipse.core.databinding that return types with arguments of type ValidationStatusProvider Modifier and Type Method Description IObservableList<ValidationStatusProvider>
DataBindingContext. getValidationStatusProviders()
Returns an unmodifiableIObservableList
of all validation status providers in order by time of addition.static IListProperty<ValidationStatusProvider,IObservable>
BindingProperties. models()
Returns anIListProperty
for observing the models of aValidationStatusProvider
.static IListProperty<ValidationStatusProvider,IObservable>
BindingProperties. targets()
Returns anIListProperty
for observing the targets of aValidationStatusProvider
.static IValueProperty<ValidationStatusProvider,IStatus>
BindingProperties. validationStatus()
Returns anIValueProperty
for observing the validation status of aValidationStatusProvider
.static IListProperty<DataBindingContext,ValidationStatusProvider>
BindingProperties. validationStatusProviders()
Returns anIListProperty
for observing the validation status providers of aDataBindingContext
.Methods in org.eclipse.core.databinding with parameters of type ValidationStatusProvider Modifier and Type Method Description void
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.Method parameters in org.eclipse.core.databinding with type arguments of type ValidationStatusProvider Modifier and Type Method Description static 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
.Constructor parameters in org.eclipse.core.databinding with type arguments of type ValidationStatusProvider Constructor Description AggregateValidationStatus(IObservableCollection<? extends ValidationStatusProvider> validationStatusProviders, int strategy)
AggregateValidationStatus(Realm realm, IObservableCollection<? extends ValidationStatusProvider> validationStatusProviders, int strategy)
-
Uses of ValidationStatusProvider in org.eclipse.core.databinding.validation
Subclasses of ValidationStatusProvider in org.eclipse.core.databinding.validation Modifier and Type Class Description class
MultiValidator
A validator for cross-constraints between observables. -
Uses of ValidationStatusProvider in org.eclipse.jface.databinding.dialog
Methods in org.eclipse.jface.databinding.dialog with parameters of type ValidationStatusProvider Modifier and Type Method Description String
IValidationMessageProvider. getMessage(ValidationStatusProvider statusProvider)
Returns the validation message text for the given validation status provider.String
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
Methods in org.eclipse.jface.databinding.fieldassist with parameters of type ValidationStatusProvider Modifier and Type Method Description static 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
.
-