changeset 2222:606f4fd7f815

Add more-or-less dummy Facet in ReferenceCurveState. flys-artifacts/trunk@3862 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 01 Feb 2012 13:58:09 +0000
parents fdeb6d61c24c
children 6e67b5dd8c4c
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Feb 01 13:57:15 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Feb 01 13:58:09 2012 +0000
@@ -1,3 +1,8 @@
+2012-02-01  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java:
+	  Added pro forma facet. 
+
 2012-02-01  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java	Wed Feb 01 13:57:15 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java	Wed Feb 01 13:58:09 2012 +0000
@@ -9,6 +9,7 @@
 
 import de.intevation.flys.artifacts.model.CalculationResult;
 import de.intevation.flys.artifacts.model.FacetTypes;
+import de.intevation.flys.artifacts.model.ReferenceCurveFacet;
 import de.intevation.flys.artifacts.model.ReportFacet;
 import de.intevation.flys.artifacts.model.WW;
 
@@ -52,6 +53,7 @@
 
         for (int i = 0; i < wws.length; ++i) {
             // TODO: Add data facets.
+             facets.add(new ReferenceCurveFacet(i, REFERENCE_CURVE, REFERENCE_CURVE));
         }
 
         if (wws.length > 0) {

http://dive4elements.wald.intevation.org