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 validGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.