public interface ICellEditorValidator
This interface should be implemented by classes that wish to act as cell editor validators.
Modifier and Type | Method and Description |
---|---|
String |
isValid(Object value)
Returns a string indicating whether the given value is valid;
null means valid, and non-null means
invalid, with the result being the error message to display
to the end user. |
String isValid(Object value)
null
means valid, and non-null
means
invalid, with the result being the error message to display
to the end user.
It is the responsibility of the implementor to fully format the message before returning it.
value
- the value to be validatednull
indicating
that the value is valid
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.