Uses of Interface
org.eclipse.core.databinding.conversion.IConverter
-
Packages that use IConverter Package Description org.eclipse.core.databinding Provides classes for binding observable objects, for example UI widgets and model objects.org.eclipse.core.databinding.conversion Provides interfaces and classes for data type conversion.org.eclipse.core.internal.databinding.conversion org.eclipse.core.internal.databinding.validation -
-
Uses of IConverter in org.eclipse.core.databinding
Fields in org.eclipse.core.databinding declared as IConverter Modifier and Type Field Description protected 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 IConverter Modifier and Type Method Description static <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<S,D>
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<S,D>
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<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. -
Uses of IConverter in org.eclipse.core.databinding.conversion
Classes in org.eclipse.core.databinding.conversion that implement IConverter Modifier and Type Class Description class
Converter<F,T>
Abstract base class for converters.class
NumberToStringConverter
Deprecated.UseNumberToStringConverter
instead, which does not usecom.ibm.icu
as that package may be removed in the future from platform.class
StringToNumberConverter<T extends Number>
Deprecated.UseStringToNumberConverter
instead, which does not usecom.ibm.icu
as that package may be removed in the future from platform.Methods in org.eclipse.core.databinding.conversion that return IConverter Modifier and Type Method Description static <F,T>
IConverter<F,T>IConverter. create(Object fromType, Object toType, Function<F,T> conversion)
Creates a converter which calls the argument conversion function.static <F,T>
IConverter<F,T>IConverter. create(Function<F,T> conversion)
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>EnumConverters. toOrdinal(Class<T> enumFromType)
Creates a converter which converts fromEnum.ordinal
s to enum values of the given type.static <T extends Enum<T>>
IConverter<T,String>EnumConverters. toString(Class<T> enumFromType)
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 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw IConverter Modifier and Type Class Description class
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 with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw IConverter Modifier and Type Class Description class
org.eclipse.core.internal.databinding.validation.NumberFormatConverter<F,T extends Number>
Converter that uses a number format for conversion.
-