Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/client/utils/Validator.java @ 2472:75d19d46c3cd
Prepared the style editor for WSPLGEN themes.
flys-client/trunk@4196 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 04 Apr 2012 13:31:05 +0000 |
parents | c21d14e48040 |
children |
rev | line source |
---|---|
1500 | 1 package de.intevation.flys.client.client.utils; |
1504
02a9104c0451
Implemented the validators more object oriented.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1500
diff
changeset
|
2 |
02a9104c0451
Implemented the validators more object oriented.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1500
diff
changeset
|
3 import java.util.Map; |
02a9104c0451
Implemented the validators more object oriented.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1500
diff
changeset
|
4 |
1500 | 5 import com.smartgwt.client.widgets.form.fields.FormItem; |
6 | |
7 /** | |
8 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
9 * | |
10 * This validator is used for SmartGWT FormItems. | |
11 */ | |
1507
c21d14e48040
Improved validation and property handling.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1504
diff
changeset
|
12 public interface Validator { |
1500 | 13 |
1507
c21d14e48040
Improved validation and property handling.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
1504
diff
changeset
|
14 boolean validate(FormItem item, Map errors); |
1500 | 15 } |
16 |