diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadLSFacet.java @ 8204:c657ddcf1fa6

Sediment loads at measurement stations and longitudinal sections need different processing and styling for diagrams.
author Tom Gottfried <tom@intevation.de>
date Fri, 05 Sep 2014 14:53:58 +0200
parents e4606eae8ea5
children 1cd7225df846
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadLSFacet.java	Fri Sep 05 13:19:22 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadLSFacet.java	Fri Sep 05 14:53:58 2014 +0200
@@ -47,7 +47,7 @@
 
     /* Aheinecke we probably need to get the kind and split this up here
      * in some way */
-    private static final String NAME = "sedimentload";
+    private static final String NAME = "sedimentload.ls";
 
     public SedimentLoadLSFacet() {
     }
@@ -111,9 +111,7 @@
         log.debug("Kind: " + theLoad.getKind());
         log.debug("Unit: " + theLoad.getUnit().getName());
 
-        /* Name has the pattern sedimentload.<unit>.<grainfraction_name>
-         * this is partly done for backwards compatibility and theming.
-         * See issue 1681 for details. */
+        // Name has the pattern sedimentload.ls.<unit>.<grainfraction_name>
         name = NAME;
 
         String i18nUnit = "";

http://dive4elements.wald.intevation.org