Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/UIProviderFactory.java @ 9559:ba0561906f81
Uinfo inundation duration workflow (vegetation zones, scenario), wms-config changed
author | gernotbelger |
---|---|
date | Wed, 24 Oct 2018 18:40:38 +0200 |
parents | 709a73badd48 |
children | 839b2aa84dd0 |
comparison
equal
deleted
inserted
replaced
9558:709a73badd48 | 9559:ba0561906f81 |
---|---|
36 import org.dive4elements.river.client.client.ui.uinfo.InundationWMSInputPanel; | 36 import org.dive4elements.river.client.client.ui.uinfo.InundationWMSInputPanel; |
37 import org.dive4elements.river.client.client.ui.uinfo.Limit5SalixBehaviour; | 37 import org.dive4elements.river.client.client.ui.uinfo.Limit5SalixBehaviour; |
38 import org.dive4elements.river.client.client.ui.uinfo.LoadSedimentHeightPanel; | 38 import org.dive4elements.river.client.client.ui.uinfo.LoadSedimentHeightPanel; |
39 import org.dive4elements.river.client.client.ui.uinfo.LoadSingleYearPanel; | 39 import org.dive4elements.river.client.client.ui.uinfo.LoadSingleYearPanel; |
40 import org.dive4elements.river.client.client.ui.uinfo.LoadSingleYearPseudoEpochPanel; | 40 import org.dive4elements.river.client.client.ui.uinfo.LoadSingleYearPseudoEpochPanel; |
41 import org.dive4elements.river.client.client.ui.uinfo.SingleBehaviour; | |
42 import org.dive4elements.river.client.client.ui.uinfo.SupraRegionalTablePanel; | 41 import org.dive4elements.river.client.client.ui.uinfo.SupraRegionalTablePanel; |
43 import org.dive4elements.river.client.client.ui.uinfo.VegetationzonesTableEditPanel; | 42 import org.dive4elements.river.client.client.ui.uinfo.VegetationzonesTableEditPanel; |
44 import org.dive4elements.river.client.client.ui.uinfo.VegetationzonesTablePanel; | 43 import org.dive4elements.river.client.client.ui.uinfo.VegetationzonesTablePanel; |
45 import org.dive4elements.river.client.shared.model.User; | 44 import org.dive4elements.river.client.shared.model.User; |
46 | 45 |
219 } else if (uiProvider.equals("sinfo.collision.load_epoch_select")) { | 218 } else if (uiProvider.equals("sinfo.collision.load_epoch_select")) { |
220 return new CollisionLoadEpochPanel(); | 219 return new CollisionLoadEpochPanel(); |
221 } else if (uiProvider.equals("common.state.load_single_year_select")) { | 220 } else if (uiProvider.equals("common.state.load_single_year_select")) { |
222 return new LoadSingleYearPanel(getMSG()); | 221 return new LoadSingleYearPanel(getMSG()); |
223 } else if (uiProvider.equals("uinfo.inundation.wms_year")) { | 222 } else if (uiProvider.equals("uinfo.inundation.wms_year")) { |
224 return new InundationWMSInputPanel(getMSG(), getMSG().year(), true); | 223 return new InundationWMSInputPanel(getMSG(), "year_epoch_select", getMSG().year(), null, true); |
225 } else if (uiProvider.equals("uinfo.inundation.wms_epoch")) { | 224 } else if (uiProvider.equals("uinfo.inundation.wms_epoch")) { |
226 return new InundationWMSInputPanel(getMSG(), getMSG().epoch(), false); | 225 return new InundationWMSInputPanel(getMSG(), "year_epoch_select", getMSG().epoch(), null, false); |
227 } else if (uiProvider.equals("common.state.load_single_year_select.show_hint")) { | 226 } else if (uiProvider.equals("common.state.load_single_year_select.show_hint")) { |
228 return new LoadSingleYearPanel(getMSG(), true); | 227 return new LoadSingleYearPanel(getMSG(), true); |
229 } else if (uiProvider.equals("uinfo.salix.load_single_year_pseudo_epoch_select")) { | 228 } else if (uiProvider.equals("uinfo.salix.load_single_year_pseudo_epoch_select")) { |
230 return new LoadSingleYearPseudoEpochPanel(getMSG()); | 229 return new LoadSingleYearPseudoEpochPanel(getMSG()); |
231 } else if (uiProvider.equals("minfo.sedimentload_sqti_select")) { | 230 } else if (uiProvider.equals("minfo.sedimentload_sqti_select")) { |
232 return new SedLoadSQTiPanel(); | 231 return new SedLoadSQTiPanel(); |
233 } else if (uiProvider.equals("uinfo.sedimentheight_select")) { | 232 } else if (uiProvider.equals("uinfo.inundation.szenario")) { |
234 return new LoadSedimentHeightPanel(new SingleBehaviour(getMSG()));// Type.single); | 233 return new InundationWMSInputPanel(getMSG(), "inundation_scenario", getMSG().uinfo_inundation_scenario_old_msg(), "cm", false); |
235 } else if (uiProvider.equals("uinfo.sedimentheight_select.limit5")) { | 234 } else if (uiProvider.equals("uinfo.sedimentheight_select.limit5")) { |
236 return new LoadSedimentHeightPanel(new Limit5SalixBehaviour(getMSG())); | 235 return new LoadSedimentHeightPanel(new Limit5SalixBehaviour(getMSG())); |
237 } else if (uiProvider.equals("hws_datacage_panel")) { | 236 } else if (uiProvider.equals("hws_datacage_panel")) { |
238 return new HWSDatacagePanel(user); | 237 return new HWSDatacagePanel(user); |
239 } else if (uiProvider.equals("user_rgd_panel")) { | 238 } else if (uiProvider.equals("user_rgd_panel")) { |