Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/bundu/BunduWstWQPanel.java @ 9277:2323d005f9a5
compile error fix
author | gernotbelger |
---|---|
date | Fri, 20 Jul 2018 10:39:02 +0200 |
parents | 3141f0e7314e |
children | 717c9dc1859f |
comparison
equal
deleted
inserted
replaced
9276:3141f0e7314e | 9277:2323d005f9a5 |
---|---|
12 import java.util.List; | 12 import java.util.List; |
13 import java.util.Map; | 13 import java.util.Map; |
14 | 14 |
15 import org.dive4elements.river.client.client.ui.DoubleArrayPanel; | 15 import org.dive4elements.river.client.client.ui.DoubleArrayPanel; |
16 import org.dive4elements.river.client.client.ui.WQAdaptedInputPanel; | 16 import org.dive4elements.river.client.client.ui.WQAdaptedInputPanel; |
17 import org.dive4elements.river.client.shared.model.Data; | |
18 import org.dive4elements.river.client.shared.model.DataList; | |
17 | 19 |
18 import com.google.gwt.i18n.client.NumberFormat; | 20 import com.google.gwt.i18n.client.NumberFormat; |
21 import com.smartgwt.client.widgets.Canvas; | |
19 | 22 |
20 /** | 23 /** |
21 * This UIProvider creates a widget to enter W or Q data for | 24 * This UIProvider creates a widget to enter W or Q data for |
22 * Fixation analysis | 25 * Fixation analysis |
23 * | 26 * |
24 * @author <a href="mailto:aheinecke@intevation.de">Andre Heinecke</a> | 27 * @author <a href="mailto:aheinecke@intevation.de">Andre Heinecke</a> |
25 */ | 28 */ |
26 public class BunduWstWQPanel extends WQAdaptedInputPanel { | 29 public class BunduWstWQPanel extends WQAdaptedInputPanel { |
27 private static final long serialVersionUID = -3218827566805476423L; | 30 private static final long serialVersionUID = -3218827566805476423L; |
28 | 31 |
32 /** get bezugsjahr + range from server HERE **/ | |
33 @Override | |
34 public Canvas create(final DataList data) { | |
35 final Data test = data.get(0); | |
36 | |
37 return super.create(data); | |
38 } | |
39 | |
40 // TODO: ValidateRange verstehen und dann ggf. Löschen/Ändern/was auch immer | |
29 @Override | 41 @Override |
30 protected List<String> validateRange(final Map<String, double[]> ranges) { | 42 protected List<String> validateRange(final Map<String, double[]> ranges) { |
31 final List<String> errors = new ArrayList<String>(); | 43 final List<String> errors = new ArrayList<String>(); |
32 final NumberFormat nf = NumberFormat.getDecimalFormat(); | 44 final NumberFormat nf = NumberFormat.getDecimalFormat(); |
33 | 45 |