Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/sinfo/FlowDepthMinMaxTwinPanel.java @ 9220:e3c2ae1887e8
Allow to filter contents of datacage on client side.
Allow to override column label of datacage
Some code cleanup
author | gernotbelger |
---|---|
date | Wed, 04 Jul 2018 12:00:51 +0200 |
parents | af73fdd96920 |
children | 84397da33d17 |
comparison
equal
deleted
inserted
replaced
9219:8642a76f22be | 9220:e3c2ae1887e8 |
---|---|
16 | 16 |
17 /** | 17 /** |
18 * @author Gernot Belger | 18 * @author Gernot Belger |
19 */ | 19 */ |
20 public final class FlowDepthMinMaxTwinPanel extends DatacageTwinPanel { | 20 public final class FlowDepthMinMaxTwinPanel extends DatacageTwinPanel { |
21 | |
22 private static final long serialVersionUID = 1L; | |
23 | |
24 private static final DefaultDatacageTwinPanelInfo LEFT_INFO = new DefaultDatacageTwinPanelInfo(MSG.sinfo_columnlabel_soundings(), "bedheight", | |
25 "sinfo_flowdepthminmax_heights"); | |
26 | |
27 private static final NilDatacageTwinPanelInfo RIGHT_INFO = new NilDatacageTwinPanelInfo(MSG.sinfo_columnlabel_waterlevels(), "sinfo_flowdepth_waterlevels"); | |
28 | |
21 public FlowDepthMinMaxTwinPanel(final User user) { | 29 public FlowDepthMinMaxTwinPanel(final User user) { |
22 super(user, new FlowDepthTwinPanelValidator(), new NilDatacageTwinPanelInfo("sinfo_flowdepth_waterlevels"), | 30 super(user, new FlowDepthTwinPanelValidator(), LEFT_INFO, RIGHT_INFO, 9999, ""); |
23 new DefaultDatacageTwinPanelInfo("bedheight", "sinfo_flowdepthminmax_heights"), 9999, ""); | |
24 } | 31 } |
25 } | 32 } |