Mercurial > dive4elements > river
annotate flys-client/src/main/java/de/intevation/flys/client/client/utils/Validator.java @ 5437:b582df0c7b00
Add Jetties to floodmap
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 26 Mar 2013 17:31:55 +0100 |
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 |