changeset 7715:9705e747e3ee

(issue1574) Add correction curves to W Area compatibility lists
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 20 Dec 2013 12:50:01 +0100
parents 0ee6aa11649b
children aa5ad2f62def
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java	Fri Dec 20 12:40:08 2013 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java	Fri Dec 20 12:50:01 2013 +0100
@@ -295,11 +295,13 @@
             a.getFacet().equals("other.wqkms.w") ||
             a.getFacet().equals("other.wqkms") ||
             a.getFacet().equals("discharge_longitudinal_section.w") ||
+            a.getFacet().equals("discharge_longitudinal_section.c") ||
             a.getFacet().equals("other.wkms")) {
             return b.getFacet().equals("longitudinal_section.w")
                 || b.getFacet().equals("other.wqkms")
                 || b.getFacet().equals("other.wqkms.w")
                 || b.getFacet().equals("discharge_longitudinal_section.w")
+                || b.getFacet().equals("discharge_longitudinal_section.c")
                 || b.getFacet().equals("other.wkms");
         }
         else if (a.getFacet().equals("longitudinal_section.q") ||
@@ -322,6 +324,7 @@
             || a.getFacet().equals("longitudinal_section.w")
             || a.getFacet().equals("discharge_longitudinal_section.w")
             || a.getFacet().equals("discharge_longitudinal_section.q")
+            || a.getFacet().equals("discharge_longitudinal_section.c")
             || a.getFacet().startsWith("other.wqkms")
             || a.getFacet().equals("other.wkms")
             || a.getFacet().equals("w_differences");

http://dive4elements.wald.intevation.org