public interface ISelectionValidator
Clients should implement this interface to define specialized selection validators.
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, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.