Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java @ 2310:ecb76933362f
Added PDF export to reference curve calculation.
flys-artifacts/trunk@3988 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 10:21:16 +0000 |
parents | 51f530476e36 |
children | 6bbb8295fd64 |
comparison
equal
deleted
inserted
replaced
2309:92640472e563 | 2310:ecb76933362f |
---|---|
67 wwsName | 67 wwsName |
68 )); | 68 )); |
69 } | 69 } |
70 | 70 |
71 if (wws.length > 0) { | 71 if (wws.length > 0) { |
72 // TODO: Add CSV/PDF facets. | 72 logger.debug("Adding CSV and PDF data facet."); |
73 logger.debug("Adding CSV data facet."); | |
74 Facet csv = new DataFacet (CSV, "CSV data", ComputeType.ADVANCE, hash, id); | 73 Facet csv = new DataFacet (CSV, "CSV data", ComputeType.ADVANCE, hash, id); |
74 Facet pdf = new DataFacet (PDF, "PDF data", ComputeType.ADVANCE, hash, id); | |
75 facets.add(csv); | 75 facets.add(csv); |
76 facets.add(pdf); | |
76 } | 77 } |
77 | 78 |
78 if (res.getReport().hasProblems()) { | 79 if (res.getReport().hasProblems()) { |
79 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); | 80 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); |
80 } | 81 } |