public interface ISelectionValidator
Clients should implement this interface to define specialized selection validators.
| Modifier and Type | Method and Description |
|---|---|
String |
isValid(Object selection)
Returns a string indicating whether the given selection is valid.
|
String isValid(Object selection)
null, the selection is considered to be valid; if the result is
non-empty, it contains the error message to be displayed to the user.selection - the selection to be validatednull indicating
that the value is valid
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.