Package | Description |
---|---|
org.eclipse.core.databinding |
Provides classes for binding observable objects, for example UI widgets and model objects.
|
Modifier and Type | Method and Description |
---|---|
static <S,D> UpdateValueStrategy<S,D> |
UpdateValueStrategy.create(IConverter<S,D> converter)
Create an
UpdateValueStrategy with a 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.
|
UpdateValueStrategy<S,D> |
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<S,D> |
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<S,D> |
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<S,D> |
UpdateValueStrategy.setConverter(IConverter<? super S,? extends D> converter)
Sets the converter to be invoked when converting from the source type to
the destination type.
|
Modifier and Type | Method and Description |
---|---|
<T,M> Binding |
DataBindingContext.bindValue(IObservableValue<T> targetObservableValue,
IObservableValue<M> modelObservableValue,
UpdateValueStrategy<? super T,? extends M> targetToModel,
UpdateValueStrategy<? super M,? extends T> modelToTarget)
Creates a
Binding to synchronize the values of two
observable values . |
<T,M> Binding |
DataBindingContext.bindValue(IObservableValue<T> targetObservableValue,
IObservableValue<M> modelObservableValue,
UpdateValueStrategy<? super T,? extends M> targetToModel,
UpdateValueStrategy<? super M,? extends T> modelToTarget)
Creates a
Binding to synchronize the values of two
observable values . |
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.