Eclipse Platform
Release 3.1

org.eclipse.jface.viewers
Interface ICellEditorValidator


public interface ICellEditorValidator

An interface for validating a cell editor's input.

This interface should be implemented by classes that wish to act as cell editor validators.


Method Summary
 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.
 

Method Detail

isValid

public 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.

Parameters:
value - the value to be validated
Returns:
the error message, or null indicating that the value is valid

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.