Uses of Interface
org.eclipse.core.databinding.conversion.IConverter
Package
Description
Provides classes for binding observable objects, for example UI widgets and model objects.
Provides interfaces and classes for data type conversion.
-
Uses of IConverter in org.eclipse.core.databinding
Modifier and TypeFieldDescriptionprotected IConverter<? super S,
? extends D> UpdateStrategy.converter
protected IConverter<? super S,
? extends D> UpdateStrategy.converter
protected IConverter<? super S,
? extends D> UpdateStrategy.converter
Modifier and TypeMethodDescriptionstatic <S,
T> IValueProperty<S, T> BindingProperties.convertedValue
(IConverter<S, T> converter) Returns anIValueProperty
whose value results from applying the givenIConverter
on the source object of the value property.static <S,
D> UpdateListStrategy<S, D> UpdateListStrategy.create
(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategy
with the given converter.static <S,
D> UpdateSetStrategy<S, D> UpdateSetStrategy.create
(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategy
with the given converter.static <S,
D> UpdateValueStrategy<S, D> UpdateValueStrategy.create
(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategy
with the given converter.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.UpdateSetStrategy.setConverter
(IConverter<S, D> converter) Sets the converter to be invoked when converting added elements from the source element type to the destination element type.UpdateValueStrategy.setConverter
(IConverter<? super S, ? extends D> converter) Sets the converter to be invoked when converting from the source type to the destination type. -
Uses of IConverter in org.eclipse.core.databinding.bind.steps
Modifier and TypeMethodDescriptionCommonSteps.ConvertFromStep.convertFrom
(IConverter<? super T, ? extends F> converter) Sets the from-to direction converter on the resulting binding.ListTwoWaySteps.ListTwoWayConvertFromStep.convertFrom
(IConverter<? super T, ? extends F> converter) SetTwoWaySteps.SetTwoWayConvertFromStep.convertFrom
(IConverter<? super T, ? extends F> converter) ValueTwoWaySteps.ValueTwoWayConvertFromStep.convertFrom
(IConverter<? super T, ? extends F> converter) <T> Step
CommonSteps.ConvertToStep.convertTo
(IConverter<? super F, ? extends T> converter) Sets the from-to direction converter on the resulting binding.<T2> ListOneWaySteps.ListOneWayToStep<F,
T2> ListOneWaySteps.ListOneWayConvertStep.convertTo
(IConverter<? super F, ? extends T2> converter) ListTwoWaySteps.ListTwoWayConvertToStep.convertTo
(IConverter<? super F, ? extends T> converter) <T2> SetOneWaySteps.SetOneWayToStep<F,
T2> SetOneWaySteps.SetOneWayConvertStep.convertTo
(IConverter<? super F, ? extends T2> converter) SetTwoWaySteps.SetTwoWayConvertToStep.convertTo
(IConverter<? super F, ? extends T> converter) <T2> ValueOneWaySteps.ValueOneWayToStep<F,
T2> ValueOneWaySteps.ValueOneWayConvertStep.convertTo
(IConverter<? super F, ? extends T2> converter) ValueTwoWaySteps.ValueTwoWayConvertToStep.convertTo
(IConverter<? super F, ? extends T> converter) -
Uses of IConverter in org.eclipse.core.databinding.conversion
Modifier and TypeMethodDescriptionstatic <F,
T> IConverter<F, T> Creates a converter which calls the argument conversion function.static <F,
T> IConverter<F, T> Creates an untyped converter which calls the argument conversion function.static <T extends Enum<T>>
IConverter<Integer,T> EnumConverters.fromOrdinal
(Class<T> enumToType) Creates a converter which converts fromEnum.ordinal
s to enum values of the given type.static <T extends Enum<T>>
IConverter<String,T> EnumConverters.fromString
(Class<T> enumToType) Creates a converter which converts from theEnumConverters.toString(java.lang.Class<T>)
values of enums values to enum values themselves.static <T extends Enum<T>>
IConverter<T,Integer> Creates a converter which converts fromEnum.ordinal
s to enum values of the given type.static <T extends Enum<T>>
IConverter<T,String> Creates a converter which converts to theEnumConverters.toString(java.lang.Class<T>)
values of the enum constants. -
Uses of IConverter in org.eclipse.core.databinding.conversion.text
Modifier and TypeClassDescriptionfinal class
Converts a Number to a String usingFormat.format(...)
.final class
StringToNumberConverter<T extends Number>
Converts a String to a Number usingNumberFormat.parse(...)
. -
Uses of IConverter in org.eclipse.core.internal.databinding.conversion
Modifier and TypeClassDescriptionclass
org.eclipse.core.internal.databinding.conversion.AbstractNumberToStringConverter
Converts a Number to a String usingFormat.format(...)
.class
org.eclipse.core.internal.databinding.conversion.AbstractStringToNumberConverter<T extends Number>
Converts a String to a Number usingFormat.parse(...)
. -
Uses of IConverter in org.eclipse.core.internal.databinding.validation
Modifier and TypeClassDescriptionclass
org.eclipse.core.internal.databinding.validation.NumberFormatConverter<F,
T extends Number> Converter that uses a number format for conversion.