changeset 8311:7b282a3f50f0

Renamed ui provider for static data panel.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 24 Sep 2014 11:56:03 +0200
parents f5ed7698c4db
children 9f5059f4f01a
files artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeDischargeInitState.java gwt-client/src/main/java/org/dive4elements/river/client/client/ui/UIProviderFactory.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeDischargeInitState.java	Mon Sep 22 17:11:20 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeDischargeInitState.java	Wed Sep 24 11:56:03 2014 +0200
@@ -7,6 +7,6 @@
 
     @Override
     protected String getUIProvider() {
-        return "gauge_discharge_curve";
+        return "static_data";
     }
 }
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/UIProviderFactory.java	Mon Sep 22 17:11:20 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/UIProviderFactory.java	Wed Sep 24 11:56:03 2014 +0200
@@ -173,7 +173,7 @@
         else if (uiProvider.equals("minfo.sedimentload_unit_select")) {
             return new RadioPanel();
         }
-        else if (uiProvider.equals("gauge_discharge_curve")) {
+        else if (uiProvider.equals("static_data")) {
             return new StaticDataPanel();
         }
         else if (uiProvider.equals("minfo.sedimentload_distance_select")) {

http://dive4elements.wald.intevation.org