[PATCH 1 of 4] Renamed ui provider for static data panel

Wald Commits scm-commit at wald.intevation.org
Wed Sep 24 12:02:42 CEST 2014


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1411552563 -7200
# Node ID 7b282a3f50f09c717bbca27e9cf36872497d6d71
# Parent  f5ed7698c4db7cc82cfe1ab59a796e70cdaf175f
Renamed ui provider for static data panel.

diff -r f5ed7698c4db -r 7b282a3f50f0 artifacts/src/main/java/org/dive4elements/river/artifacts/states/GaugeDischargeInitState.java
--- 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";
     }
 }
diff -r f5ed7698c4db -r 7b282a3f50f0 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/UIProviderFactory.java
--- 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")) {


More information about the Dive4Elements-commits mailing list