Interface TextGUICellEditor.ValueConverter<T>
-
- Type Parameters:
T- the value type
- All Superinterfaces:
org.eclipse.jface.viewers.ICellEditorValidator
- All Known Implementing Classes:
TextGUICellEditor.AbstractStringValueConverter,TextGUICellEditor.DoubleValueConverter,TextGUICellEditor.FloatValueConverter,TextGUICellEditor.IntegerValueConverter
- Enclosing class:
- TextGUICellEditor
private static interface TextGUICellEditor.ValueConverter<T> extends org.eclipse.jface.viewers.ICellEditorValidatorAllows to perform specific value conversions to/from strings behind UI elements. This is typically required in default tabbed property editors.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TfromUI(java.lang.Object value)Turns a UIvalueinto the property (object) value.java.lang.ObjecttoUI(java.lang.Object value)Turns a property (object) value into UI.
-
-
-
Method Detail
-
fromUI
T fromUI(java.lang.Object value)
Turns a UIvalueinto the property (object) value.- Parameters:
value- the UI value- Returns:
- the property (object) value
-
toUI
java.lang.Object toUI(java.lang.Object value)
Turns a property (object) value into UI.- Parameters:
value- the value to be turned into the UI- Returns:
- the UI value (typically a string)
-
-