Uses of Class
org.eclipse.core.databinding.UpdateListStrategy
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
-
Uses of UpdateListStrategy in org.eclipse.core.databinding
Modifier and TypeMethodDescriptionstatic <S,
D> UpdateListStrategy<S, D> UpdateListStrategy.create
(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategy
with the given converter.protected <M,
T> UpdateListStrategy<M, T> DataBindingContext.createModelToTargetUpdateListStrategy
(IObservableList<M> modelObservableList, IObservableList<T> targetObservableList) Returns an update value strategy to be used for copying value list from the model list to the target list.protected <T,
M> UpdateListStrategy<T, M> DataBindingContext.createTargetToModelUpdateListStrategy
(IObservableList<T> targetObservableList, IObservableList<M> modelObservableList) Returns an update value strategy to be used for copying value list from the target list to the model list.static <S,
D> UpdateListStrategy<S, D> UpdateListStrategy.never()
Convenience method that creates an update strategy that never updates its observables, usingPOLICY_NEVER
and no defaults.UpdateListStrategy.setConverter
(IConverter<? super S, ? extends D> converter) Sets the converter to be invoked when converting added elements from the source element type to the destination element type.Modifier and TypeMethodDescriptionfinal <T,
M> Binding DataBindingContext.bindList
(IObservableList<T> targetObservableList, IObservableList<M> modelObservableList, UpdateListStrategy<? super T, ? extends M> targetToModel, UpdateListStrategy<? super M, ? extends T> modelToTarget) Creates aBinding
to synchronize the values of twoobservable lists
.ModifierConstructorDescriptionListBinding
(IObservableList<T> target, IObservableList<M> model, UpdateListStrategy<? super T, ? extends M> targetToModelStrategy, UpdateListStrategy<? super M, ? extends T> modelToTargetStrategy)