Mercurial > dive4elements > river
annotate gwt-client/src/main/java/org/dive4elements/river/client/client/ui/sinfo/FlowDepthTwinPanel.java @ 9133:af73fdd96920
Title current/historical diff pair; limit on entries in diff'pair twin_panel
author | gernotbelger |
---|---|
date | Thu, 07 Jun 2018 11:41:10 +0200 |
parents | 0adc6d04de95 |
children | e3c2ae1887e8 |
rev | line source |
---|---|
8854 | 1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde |
8993
0adc6d04de95
SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents:
8875
diff
changeset
|
2 * Software engineering by |
0adc6d04de95
SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents:
8875
diff
changeset
|
3 * Björnsen Beratende Ingenieure GmbH |
8854 | 4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt |
5 * | |
6 * This file is Free Software under the GNU AGPL (>=v3) | |
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
8 * documentation coming with Dive4Elements River for details. | |
9 */ | |
10 package org.dive4elements.river.client.client.ui.sinfo; | |
11 | |
12 import org.dive4elements.river.client.client.ui.DatacageTwinPanel; | |
13 import org.dive4elements.river.client.client.ui.DefaultDatacageTwinPanelInfo; | |
8875
8d1df8639563
Fixed: strange tweak in w-diferences panel always returned staticwkms factory instead of the original one. In sinfo we need the original one though.
gernotbelger
parents:
8868
diff
changeset
|
14 import org.dive4elements.river.client.client.ui.NilDatacageTwinPanelInfo; |
8854 | 15 import org.dive4elements.river.client.shared.model.User; |
16 | |
17 /** | |
18 * @author Gernot Belger | |
19 */ | |
8993
0adc6d04de95
SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents:
8875
diff
changeset
|
20 public final class FlowDepthTwinPanel extends DatacageTwinPanel { |
9133
af73fdd96920
Title current/historical diff pair; limit on entries in diff'pair twin_panel
gernotbelger
parents:
8993
diff
changeset
|
21 public FlowDepthTwinPanel(final User user, final int maxCount, final String msgMaxCount) { |
8993
0adc6d04de95
SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents:
8875
diff
changeset
|
22 super(user, new FlowDepthTwinPanelValidator(), new NilDatacageTwinPanelInfo("sinfo_flowdepth_waterlevels"), |
9133
af73fdd96920
Title current/historical diff pair; limit on entries in diff'pair twin_panel
gernotbelger
parents:
8993
diff
changeset
|
23 new DefaultDatacageTwinPanelInfo("bedheight", "sinfo_flowdepth_minfo_heights"), maxCount, msgMaxCount); |
8993
0adc6d04de95
SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents:
8875
diff
changeset
|
24 } |
8854 | 25 } |