Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ChartThemePanel.java @ 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 | 27578853bf24 |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
7714:0ee6aa11649b | 7715:9705e747e3ee |
---|---|
293 } | 293 } |
294 if (a.getFacet().equals("longitudinal_section.w") || | 294 if (a.getFacet().equals("longitudinal_section.w") || |
295 a.getFacet().equals("other.wqkms.w") || | 295 a.getFacet().equals("other.wqkms.w") || |
296 a.getFacet().equals("other.wqkms") || | 296 a.getFacet().equals("other.wqkms") || |
297 a.getFacet().equals("discharge_longitudinal_section.w") || | 297 a.getFacet().equals("discharge_longitudinal_section.w") || |
298 a.getFacet().equals("discharge_longitudinal_section.c") || | |
298 a.getFacet().equals("other.wkms")) { | 299 a.getFacet().equals("other.wkms")) { |
299 return b.getFacet().equals("longitudinal_section.w") | 300 return b.getFacet().equals("longitudinal_section.w") |
300 || b.getFacet().equals("other.wqkms") | 301 || b.getFacet().equals("other.wqkms") |
301 || b.getFacet().equals("other.wqkms.w") | 302 || b.getFacet().equals("other.wqkms.w") |
302 || b.getFacet().equals("discharge_longitudinal_section.w") | 303 || b.getFacet().equals("discharge_longitudinal_section.w") |
304 || b.getFacet().equals("discharge_longitudinal_section.c") | |
303 || b.getFacet().equals("other.wkms"); | 305 || b.getFacet().equals("other.wkms"); |
304 } | 306 } |
305 else if (a.getFacet().equals("longitudinal_section.q") || | 307 else if (a.getFacet().equals("longitudinal_section.q") || |
306 a.getFacet().equals("discharge_longitudinal_section.q") || | 308 a.getFacet().equals("discharge_longitudinal_section.q") || |
307 a.getFacet().equals("other.wqkms.q")) { | 309 a.getFacet().equals("other.wqkms.q")) { |
320 protected boolean canArea(Theme a) { | 322 protected boolean canArea(Theme a) { |
321 return a.getFacet().equals("longitudinal_section.q") | 323 return a.getFacet().equals("longitudinal_section.q") |
322 || a.getFacet().equals("longitudinal_section.w") | 324 || a.getFacet().equals("longitudinal_section.w") |
323 || a.getFacet().equals("discharge_longitudinal_section.w") | 325 || a.getFacet().equals("discharge_longitudinal_section.w") |
324 || a.getFacet().equals("discharge_longitudinal_section.q") | 326 || a.getFacet().equals("discharge_longitudinal_section.q") |
327 || a.getFacet().equals("discharge_longitudinal_section.c") | |
325 || a.getFacet().startsWith("other.wqkms") | 328 || a.getFacet().startsWith("other.wqkms") |
326 || a.getFacet().equals("other.wkms") | 329 || a.getFacet().equals("other.wkms") |
327 || a.getFacet().equals("w_differences"); | 330 || a.getFacet().equals("w_differences"); |
328 } | 331 } |
329 | 332 |