Interface ListOneWaySteps.ListOneWayConvertStep<F,THIS extends ListOneWaySteps.ListOneWayConvertStep<F,THIS>>
- Type Parameters:
F- type of the from-end observableTHIS- self type for this step
- All Superinterfaces:
CommonSteps.ConvertToStep<F>,CommonSteps.ReadConfigStep<F,,F, THIS> ListCommonSteps.ListReadConfigStep<F,,F, THIS> ListCommonSteps.ListToStep<F,,F> ListOneWaySteps.ListOneWayToStep<F,,F> Step
- Enclosing class:
ListOneWaySteps
public static interface ListOneWaySteps.ListOneWayConvertStep<F,THIS extends ListOneWaySteps.ListOneWayConvertStep<F,THIS>>
extends ListOneWaySteps.ListOneWayToStep<F,F>, ListCommonSteps.ListToStep<F,F>, CommonSteps.ConvertToStep<F>, ListCommonSteps.ListReadConfigStep<F,F,THIS>
Step for converting between from- and to-types.
- Restriction:
-
Method Summary
Modifier and TypeMethodDescription<T2> ListOneWaySteps.ListOneWayToStep<F, T2> convertTo(IConverter<? super F, ? extends T2> converter) Sets the from-to direction converter on the resulting binding.Makes the resulting binding use default converters between the two observables.Methods inherited from interface org.eclipse.core.databinding.bind.steps.ListOneWaySteps.ListOneWayToStep
to
-
Method Details
-
defaultConvert
ListOneWaySteps.ListOneWayUntypedTo<F> defaultConvert()Description copied from interface:CommonSteps.ConvertToStepMakes the resulting binding use default converters between the two observables. Because of this an observable of any type may be used.For example, converters to and from strings and numeric types are available.
However, the
IObservableValue.getValueType()orIObservableCollection.getElementType()of both the observables must be non-null.See
DataBindingContextfor information about types that have default converters and how they work.- Specified by:
defaultConvertin interfaceCommonSteps.ConvertToStep<F>- Returns:
- next step
- See Also:
-
convertTo
Description copied from interface:CommonSteps.ConvertToStepSets the from-to direction converter on the resulting binding. The defines the type of the to-end observable.- Specified by:
convertToin interfaceCommonSteps.ConvertToStep<F>- Type Parameters:
T2- type of the to-end observable- Parameters:
converter- the converter to set- Returns:
- next step
- See Also:
-