[Dive4elements-commits] [PATCH 3 of 6] StaticWQKmsState: Also spawn RelativePoint and CrossSectionFacet

Wald Commits scm-commit at wald.intevation.org
Wed Apr 24 08:55:54 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1366784551 -7200
# Node ID 5a2c7d24fd290e65aae8053e336e662713ea6d77
# Parent  febeb4bb10a59cb9c11afc1ba3d0a9d9e7bd3578
StaticWQKmsState: Also spawn RelativePoint and CrossSectionFacet .

diff -r febeb4bb10a5 -r 5a2c7d24fd29 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StaticWQKmsState.java
--- 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


More information about the Dive4elements-commits mailing list