Uses of Class
org.eclipse.core.databinding.UpdateValueStrategy
Packages that use UpdateValueStrategy
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
-
Uses of UpdateValueStrategy in org.eclipse.core.databinding
Methods in org.eclipse.core.databinding that return UpdateValueStrategyModifier and TypeMethodDescriptionstatic <S,D> UpdateValueStrategy <S, D> UpdateValueStrategy.create(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategywith the given converter.protected <M,T> UpdateValueStrategy <M, T> DataBindingContext.createModelToTargetUpdateValueStrategy(IObservableValue<M> fromValue, IObservableValue<T> toValue) Returns an update value strategy to be used for copying values from the from value to the to value.protected <T,M> UpdateValueStrategy <T, M> DataBindingContext.createTargetToModelUpdateValueStrategy(IObservableValue<T> fromValue, IObservableValue<M> toValue) Returns an update value strategy to be used for copying values from the from value to the to value.static <S,D> UpdateValueStrategy <S, D> UpdateValueStrategy.never()Convenience method that creates an update strategy that never updates its observables, usingPOLICY_NEVERand no defaults.UpdateValueStrategy.setAfterConvertValidator(IValidator<? super D> validator) Sets the validator to be invoked after the source value is converted to the type of the destination observable.UpdateValueStrategy.setAfterGetValidator(IValidator<? super S> validator) Sets the validator to be invoked after the source value is retrieved at the beginning of the synchronization process.UpdateValueStrategy.setBeforeSetValidator(IValidator<? super D> validator) Sets the validator to be invoked before the value is to be set on the destination at the end of the synchronization process.UpdateValueStrategy.setConverter(IConverter<? super S, ? extends D> converter) Sets the converter to be invoked when converting from the source type to the destination type.Methods in org.eclipse.core.databinding with parameters of type UpdateValueStrategyModifier and TypeMethodDescriptionfinal <T,M> Binding DataBindingContext.bindValue(IObservableValue<T> targetObservableValue, IObservableValue<M> modelObservableValue, UpdateValueStrategy<? super T, ? extends M> targetToModel, UpdateValueStrategy<? super M, ? extends T> modelToTarget) Creates aBindingto synchronize the values of twoobservable values.