Interface CommonSteps.BindConfigStep<F,T,THIS extends CommonSteps.BindConfigStep<F,T,THIS>>
- Type Parameters:
F- type of the from-end observableT- type of the to-end observableTHIS- self type for this step
- All Superinterfaces:
CommonSteps.WriteConfigStep<F,,T, THIS> Step
- All Known Subinterfaces:
ListOneWaySteps.ListOneWayBindWriteConfigStep<F,,T, THIS> ListTwoWaySteps.ListTwoWayBindConfigStep<F,,T, THIS> SetOneWaySteps.SetOneWayBindWriteConfigStep<F,,T, THIS> SetTwoWaySteps.SetTwoWayBindConfigStep<F,,T, THIS> ValueOneWaySteps.ValueOneWayBindWriteConfigStep<F,,T, THIS> ValueTwoWaySteps.ValueTwoWayBindConfigStep<F,T, THIS>
- Enclosing class:
CommonSteps
public static interface CommonSteps.BindConfigStep<F,T,THIS extends CommonSteps.BindConfigStep<F,T,THIS>>
extends CommonSteps.WriteConfigStep<F,T,THIS>
The last step in the binding pipeline, where the
bind(org.eclipse.core.databinding.DataBindingContext)
method is accessible.- Restriction:
- Implementation Note:
- Here methods can be added that applies to the entire binding.
-
Method Summary
Modifier and TypeMethodDescriptionbind(DataBindingContext bindingContext) Creates the binding according to the configuration is the previous steps.Short-hand way to create a binding.Methods inherited from interface org.eclipse.core.databinding.bind.steps.CommonSteps.WriteConfigStep
updateOnlyOnRequest
-
Method Details
-
bind
Creates the binding according to the configuration is the previous steps. CreatesUpdateValueStrategyobjects and callsDataBindingContext.bindValue(org.eclipse.core.databinding.observable.value.IObservableValue<T>, org.eclipse.core.databinding.observable.value.IObservableValue<M>).- Parameters:
bindingContext- used the create the binding- Returns:
- the created binding
- See Also:
-
bindWithNewContext
Binding bindWithNewContext()Short-hand way to create a binding. This method creates a newDataBindingContext, and callsbind(DataBindingContext).Warnings: This method is not suitable if performance is critical or if the bindings need to be disposed.
- Returns:
- the created binding
- See Also:
-