changeset 4224:8b5133444bcc

Added UI provider for sediment load parameter input in provider factory.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 23 Oct 2012 13:24:16 +0200
parents 015b219a97af
children f4cee1a74605
files flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java
diffstat 1 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java	Tue Oct 23 13:21:57 2012 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/UIProviderFactory.java	Tue Oct 23 13:24:16 2012 +0200
@@ -7,10 +7,14 @@
 import de.intevation.flys.client.client.ui.fixation.FixMultiPeriodPanel;
 import de.intevation.flys.client.client.ui.fixation.FixPeriodPanel;
 import de.intevation.flys.client.client.ui.fixation.FixQSelectPanel;
-import de.intevation.flys.client.client.ui.sq.SQPeriodPanel;
 import de.intevation.flys.client.client.ui.minfo.BedHeightsDatacagePanel;
 import de.intevation.flys.client.client.ui.minfo.BedMultiPeriodPanel;
 import de.intevation.flys.client.client.ui.minfo.CheckboxPanel;
+import de.intevation.flys.client.client.ui.minfo.SedLoadDistancePanel;
+import de.intevation.flys.client.client.ui.minfo.SedLoadEpochPanel;
+import de.intevation.flys.client.client.ui.minfo.SedLoadOffEpochPanel;
+import de.intevation.flys.client.client.ui.minfo.SedLoadPeriodPanel;
+import de.intevation.flys.client.client.ui.sq.SQPeriodPanel;
 import de.intevation.flys.client.shared.model.User;
 
 /**
@@ -152,9 +156,24 @@
         else if (uiProvider.equals("minfo.bed.char_diameter")) {
             return new CheckboxPanel();
         }
+        else if (uiProvider.equals("minfo.sedimentload_unit_select")) {
+            return new RadioPanel();
+        }
         else if (uiProvider.equals("gauge_discharge_curve")) {
             return new GaugeDischargeCurvePanel();
         }
+        else if (uiProvider.equals("minfo.sedimentload_distance_select")) {
+            return new SedLoadDistancePanel();
+        }
+        else if (uiProvider.equals("minfo.sedimentload_year_select")) {
+            return new SedLoadPeriodPanel();
+        }
+        else if (uiProvider.equals("minfo.sedimentload_epoch_select")) {
+            return new SedLoadEpochPanel();
+        }
+        else if (uiProvider.equals("minfo.sedimentload_epoch_select")) {
+            return new SedLoadOffEpochPanel();
+        }
         else {
             //GWT.log("Picked default provider.");
             return new SelectProvider();

http://dive4elements.wald.intevation.org