Uses of Interface
org.eclipse.core.databinding.conversion.IConverter
Packages that use 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
Fields in org.eclipse.core.databinding declared as IConverterModifier 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
Methods in org.eclipse.core.databinding with parameters of type IConverterModifier 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.conversion
Classes in org.eclipse.core.databinding.conversion that implement IConverterModifier and TypeClassDescriptionclass
Converter<F,
T> Abstract base class for converters.class
Deprecated, for removal: This API element is subject to removal in a future version.class
StringToNumberConverter<T extends Number>
Deprecated, for removal: This API element is subject to removal in a future version.UseStringToNumberConverter
instead, which does not usecom.ibm.icu
as that package is planned to be removed in the future from platform.Methods in org.eclipse.core.databinding.conversion that return IConverterModifier 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.internal.databinding.conversion
Classes in org.eclipse.core.internal.databinding.conversion that implement IConverterModifier 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
Classes in org.eclipse.core.internal.databinding.validation that implement IConverterModifier and TypeClassDescriptionclass
org.eclipse.core.internal.databinding.validation.NumberFormatConverter<F,
T extends Number> Converter that uses a number format for conversion.
NumberToStringConverter
instead, which does not usecom.ibm.icu
as that package is planned to be removed in the future from platform.