Class TextGUICellEditor.FloatValueConverter
- java.lang.Object
-
- net.ssehub.easy.producer.ui.confModel.TextGUICellEditor.AbstractStringValueConverter<java.lang.Float>
-
- net.ssehub.easy.producer.ui.confModel.TextGUICellEditor.FloatValueConverter
-
- All Implemented Interfaces:
TextGUICellEditor.ValueConverter<java.lang.Float>,org.eclipse.jface.viewers.ICellEditorValidator
- Enclosing class:
- TextGUICellEditor
private static class TextGUICellEditor.FloatValueConverter extends TextGUICellEditor.AbstractStringValueConverter<java.lang.Float>
Implements a simple float converter (currently ignoring input failures).- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFloatValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.FloatfromUI(java.lang.Object value)Turns a UIvalueinto the property (object) value.java.lang.StringisValid(java.lang.Object value)-
Methods inherited from class net.ssehub.easy.producer.ui.confModel.TextGUICellEditor.AbstractStringValueConverter
toUI
-
-
-
-
Method Detail
-
fromUI
public java.lang.Float fromUI(java.lang.Object value)
Description copied from interface:TextGUICellEditor.ValueConverterTurns a UIvalueinto the property (object) value.- Parameters:
value- the UI value- Returns:
- the property (object) value
-
isValid
public java.lang.String isValid(java.lang.Object value)
-
-