diff options
Diffstat (limited to 'rse/doc/org.eclipse.rse.doc.isv/guide/api/validators/validatorSample4.html')
-rwxr-xr-x | rse/doc/org.eclipse.rse.doc.isv/guide/api/validators/validatorSample4.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/rse/doc/org.eclipse.rse.doc.isv/guide/api/validators/validatorSample4.html b/rse/doc/org.eclipse.rse.doc.isv/guide/api/validators/validatorSample4.html deleted file mode 100755 index 23fdb97f2..000000000 --- a/rse/doc/org.eclipse.rse.doc.isv/guide/api/validators/validatorSample4.html +++ /dev/null @@ -1,44 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> -<html> -<head> -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> -<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> -<meta name="copyright" content="Copyright (c) IBM Corporation and others 2002, 2006. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > -<LINK REL="STYLESHEET" HREF="../../../book.css" TYPE="text/css"> -<title>RSE Validator Sample Four</title> -</head> - -<body bgcolor="#ffffff"> -<h1>RSE Validator Sample Four</h1> -<p>This is an example of a validator written by extending an existing RSE-supplied validator, and -simply supplying unique messages. -<pre> -package org.eclipse.rse.samples.ui.frameworks.dialogs; -import org.eclipse.rse.core.ui.validators.ValidatorIntegerRangeInput; -import org.eclipse.rse.samples.*; - -/** - * <I>An example of a customized validator, that prompts for a birth day.</I> - */ -public class <B>SampleBirthDayValidator</B> extends ValidatorIntegerRangeInput -{ - /** - * <I>Constructor. Specifies the valid range, and unique error messages</I>. - */ - public SampleBirthDayValidator() - { - super(1, 31); - super.setErrorMessages(SamplesPlugin.<A - href="../messages/uiMessageAPI.html#getPluginMessage">getPluginMessage</A>("<A - href="../messages/sampleMessageFile.html#SPPD1007">SPPD1007</A>"), // <I>empty</I> - SamplesPlugin.getPluginMessage("<A - href="../messages/sampleMessageFile.html#SPPD1008">SPPD1008</A>"), // <I>non-numeric</I> - SamplesPlugin.getPluginMessage("<A - href="../messages/sampleMessageFile.html#SPPD1009">SPPD1009</A>")); // <I>out of range</I> - } - -}</pre> - -<P><BR></P> -</body> -</html> |