[PATCH] (issue1574) Add correction curves to W Area compatibility lists

Wald Commits scm-commit at wald.intevation.org
Fri Dec 20 12:50:16 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1387540201 -3600
# Node ID 9705e747e3ee85cb192652f46d6fbec1ed34de74
# Parent  0ee6aa11649b9b1642f8f1fb3326a7899f2458d9
(issue1574) Add correction curves to W Area compatibility lists

diff -r 0ee6aa11649b -r 9705e747e3ee gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java
--- 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");


More information about the Dive4elements-commits mailing list