Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.dialogs
Interface IInputValidator


public interface IInputValidator

The IInputValidator is the interface for simple validators.

See Also:
InputDialog

Method Summary
  String isValid ( String newText)
          Validates the given string.
 

Method Detail

isValid

String isValid(
String newText)
Validates the given string. Returns an error message to display if the new text is invalid. Returns null if there is no error. Note that the empty string is not treated the same as null; it indicates an error state but with no message to display.

Parameters:
newText - the text to check for validity
Returns:
an error message or null if no error

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire