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.converterprotected IConverter<? super S, ? extends D> UpdateStrategy.converterprotected IConverter<? super S, ? extends D> UpdateStrategy.converterMethods in org.eclipse.core.databinding with parameters of type IConverterModifier and TypeMethodDescriptionstatic <S,T> IValueProperty <S, T> BindingProperties.convertedValue(IConverter<S, T> converter) Returns anIValuePropertywhose value results from applying the givenIConverteron the source object of the value property.static <S,D> UpdateListStrategy <S, D> UpdateListStrategy.create(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategywith the given converter.static <S,D> UpdateSetStrategy <S, D> UpdateSetStrategy.create(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategywith the given converter.static <S,D> UpdateValueStrategy <S, D> UpdateValueStrategy.create(IConverter<S, D> converter) Convenience method that creates anUpdateValueStrategywith 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
Methods in org.eclipse.core.databinding.bind.steps with parameters of type IConverterModifier 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> StepCommonSteps.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
Classes in org.eclipse.core.databinding.conversion that implement IConverterMethods 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.ordinals 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.ordinals 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
Classes in org.eclipse.core.databinding.conversion.text that implement IConverterModifier and TypeClassDescriptionfinal classConverts a Number to a String usingFormat.format(...).final classStringToNumberConverter<T extends Number>Converts a String to a Number usingNumberFormat.parse(...). -
Uses of IConverter in org.eclipse.core.internal.databinding.conversion
Classes in org.eclipse.core.internal.databinding.conversion that implement IConverterModifier and TypeClassDescriptionclassorg.eclipse.core.internal.databinding.conversion.AbstractNumberToStringConverterConverts a Number to a String usingFormat.format(...).classorg.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 TypeClassDescriptionclassorg.eclipse.core.internal.databinding.validation.NumberFormatConverter<F,T extends Number> Converter that uses a number format for conversion.