comparison 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
comparison
equal deleted inserted replaced
8262:9321b0cd4ad4 8264:4d99606a844e
136 ci.injectContext( 136 ci.injectContext(
137 context, dataProviders.get(i).getArtifact(), request); 137 context, dataProviders.get(i).getArtifact(), request);
138 } 138 }
139 } 139 }
140 140
141 if (outName.equals("sq_overview")) { 141 generator.doOut(
142 generator.doOut(
143 dataProviders.get(i), 142 dataProviders.get(i),
144 themeDoc, 143 getFacetThemeFromAttribute(
144 art,
145 outName,
146 facetName,
147 theme.getDescription(),
148 theme.getIndex(),
149 context),
145 theme.getActive() == 1); 150 theme.getActive() == 1);
146 }
147 else {
148 generator.doOut(
149 dataProviders.get(i),
150 getFacetThemeFromAttribute(
151 art,
152 outName,
153 facetName,
154 theme.getDescription(),
155 theme.getIndex(),
156 context),
157 theme.getActive() == 1);
158 }
159 } 151 }
160 } 152 }
161 catch (ArtifactDatabaseException ade) { 153 catch (ArtifactDatabaseException ade) {
162 log.error(ade, ade); 154 log.error(ade, ade);
163 } 155 }

http://dive4elements.wald.intevation.org