changeset 4159:bbae306fcb4f

Set uiprovider on the state
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 16 Oct 2012 15:51:27 +0200
parents a699d6c42a8b
children bbc49d9450c8
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Oct 16 15:50:27 2012 +0200
+++ b/flys-artifacts/ChangeLog	Tue Oct 16 15:51:27 2012 +0200
@@ -1,3 +1,8 @@
+2012-10-16	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java:
+	  Set uiprovider on the state.
+
 2012-10-16	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/AbstractStaticStateArtifact.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java	Tue Oct 16 15:50:27 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java	Tue Oct 16 15:51:27 2012 +0200
@@ -41,6 +41,7 @@
     public static final String XPATH_GAUGE = "/art:action/art:gauge/@art:reference";
     public static final String NAME = "gaugedischargecurve";
     public static final String STATIC_STATE_NAME = "state.gaugedischargecurve.static";
+    public static final String UIPROVIDER = "gauge_discharge_curve";
 
     /**
      * Setup initializes the data by extracting the river and gauge from
@@ -113,6 +114,7 @@
             "chart");
 
         state.addOutput(output);
+        state.setUIProvider(UIPROVIDER);
         setStaticState(state);
     }
 }

http://dive4elements.wald.intevation.org