roneditor.model
Class NumberCellEditorValidator
java.lang.Object
roneditor.model.NumberCellEditorValidator
- All Implemented Interfaces:
- org.eclipse.jface.viewers.ICellEditorValidator
public class NumberCellEditorValidator
- extends java.lang.Object
- implements org.eclipse.jface.viewers.ICellEditorValidator
Validator for Strings being castable to an Integer.
- Author:
- Tony Modica
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
private static NumberCellEditorValidator instance
instancePositive
private static NumberCellEditorValidator instancePositive
positive
private boolean positive
NumberCellEditorValidator
public NumberCellEditorValidator(boolean positive)
instance
public static NumberCellEditorValidator instance(boolean positive)
isValid
public java.lang.String isValid(java.lang.Object value)
- Specified by:
isValid
in interface org.eclipse.jface.viewers.ICellEditorValidator