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.validation |
Modifier and Type | Method and Description |
---|---|
static <S,T> IValueProperty<S,T> |
BindingProperties.convertedValue(IConverter<S,T> converter)
Returns an
IValueProperty whose value results from applying the
given IConverter on the source object of the value property. |
static <S,D> UpdateValueStrategy<S,D> |
UpdateValueStrategy.create(IConverter<S,D> converter)
Create an
UpdateValueStrategy with a converter |
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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
Converter<F,T>
Abstract base class for converters.
|
class |
NumberToStringConverter
Converts a Number to a String using
NumberFormat.format(...) |
class |
StringToNumberConverter<T extends Number>
Converts a String to a Number using
NumberFormat.parse(...) |
Modifier and Type | Method and Description |
---|---|
static <F,T> IConverter<F,T> |
IConverter.create(Object fromType,
Object toType,
Function<F,T> conversion)
Create a converter
|
Modifier and Type | Class and Description |
---|---|
class |
org.eclipse.core.internal.databinding.validation.NumberFormatConverter<F,T extends Number>
Converter that uses a number format for conversion.
|
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.