diff artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java @ 8264:4d99606a844e

SQ relation overview is now a single chart containing all fractions. * Added new facet types. * Add new facets for the overview chart. * Removed generator code for the old overview.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 12 Sep 2014 14:55:42 +0200
parents c87c87544cc6
children 994995baa32b
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java	Fri Sep 12 08:42:41 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/OutputHelper.java	Fri Sep 12 14:55:42 2014 +0200
@@ -138,24 +138,16 @@
                     }
                 }
 
-                if (outName.equals("sq_overview")) {
-                    generator.doOut(
+                generator.doOut(
                         dataProviders.get(i),
-                        themeDoc,
+                        getFacetThemeFromAttribute(
+                            art,
+                            outName,
+                            facetName,
+                            theme.getDescription(),
+                            theme.getIndex(),
+                            context),
                         theme.getActive() == 1);
-                }
-                else {
-                    generator.doOut(
-                            dataProviders.get(i),
-                            getFacetThemeFromAttribute(
-                                art,
-                                outName,
-                                facetName,
-                                theme.getDescription(),
-                                theme.getIndex(),
-                                context),
-                            theme.getActive() == 1);
-                }
             }
         }
         catch (ArtifactDatabaseException ade) {

http://dive4elements.wald.intevation.org