changeset 5799:5a2c7d24fd29

StaticWQKmsState: Also spawn RelativePoint and CrossSectionFacet .
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Apr 2013 08:22:31 +0200
parents febeb4bb10a5
children 397ff862b417
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java	Wed Apr 24 08:21:52 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java	Wed Apr 24 08:22:31 2013 +0200
@@ -12,7 +12,9 @@
 import de.intevation.flys.artifacts.FLYSArtifact;
 import de.intevation.flys.artifacts.StaticWQKmsArtifact;
 
+import de.intevation.flys.artifacts.model.CrossSectionWaterLineFacet;
 import de.intevation.flys.artifacts.model.FacetTypes;
+import de.intevation.flys.artifacts.model.RelativePointFacet;
 import de.intevation.flys.artifacts.model.WQKms;
 import de.intevation.flys.artifacts.model.WQKmsFacet;
 
@@ -82,8 +84,15 @@
                 wkmsName)*/);
         facets.add(qfacet);
 
+        Facet rpFacet = new RelativePointFacet(wkmsName);
+        facets.add(rpFacet);
+
         wkmsName = "W (" + wkmsName + ")";
 
+        Facet csFacet = new CrossSectionWaterLineFacet(0,
+             wkmsName);
+        facets.add(csFacet);
+
         Facet wfacet = new WQKmsFacet(
             STATIC_WQKMS_W,
             wkmsName

http://dive4elements.wald.intevation.org