comparison artifacts/src/main/java/org/dive4elements/river/collections/D4EArtifactCollection.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 724081af301c
children f98598cf798c
comparison
equal deleted inserted replaced
8262:9321b0cd4ad4 8264:4d99606a844e
288 288
289 for (Map.Entry<String, Output> entry: outputMap.entrySet()) { 289 for (Map.Entry<String, Output> entry: outputMap.entrySet()) {
290 String outName = entry.getKey(); 290 String outName = entry.getKey();
291 Output output = entry.getValue(); 291 Output output = entry.getValue();
292 292
293 if (outName.equals("sq_overview")) {
294 continue;
295 }
296 Settings settings = output.getSettings(); 293 Settings settings = output.getSettings();
297 294
298 if (settings == null) { 295 if (settings == null) {
299 log.debug("No Settings set for Output '" + outName + "'."); 296 log.debug("No Settings set for Output '" + outName + "'.");
300 output.setSettings( 297 output.setSettings(
420 prepareMasterArtifact(generator); 417 prepareMasterArtifact(generator);
421 418
422 try { 419 try {
423 Document attr = getAttribute(cAttr, name); 420 Document attr = getAttribute(cAttr, name);
424 OutputHelper helper = new OutputHelper(identifier()); 421 OutputHelper helper = new OutputHelper(identifier());
425 if (name.equals("sq_overview")) {
426 helper.doOut(generator, name, subtype, format, context, format);
427 }
428 helper.doOut(generator, name, subtype, attr, context, format); 422 helper.doOut(generator, name, subtype, attr, context, format);
429 generator.generate(); 423 generator.generate();
430 } 424 }
431 catch (ArtifactDatabaseException adbe) { 425 catch (ArtifactDatabaseException adbe) {
432 log.error(adbe, adbe); 426 log.error(adbe, adbe);

http://dive4elements.wald.intevation.org