Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesState.java @ 9499:853f2dafc16e
VegetationZones in CrossSectionsDiagram
author | gernotbelger |
---|---|
date | Thu, 27 Sep 2018 18:06:26 +0200 |
parents | a4121ec450d6 |
children | 8b7bf26b8782 |
comparison
equal
deleted
inserted
replaced
9496:d8e753d0fdb9 | 9499:853f2dafc16e |
---|---|
77 final VegetationZonesCalculationResults results = (VegetationZonesCalculationResults) res.getData(); | 77 final VegetationZonesCalculationResults results = (VegetationZonesCalculationResults) res.getData(); |
78 | 78 |
79 final List<VegetationZonesCalculationResult> resultList = results.getResults(); | 79 final List<VegetationZonesCalculationResult> resultList = results.getResults(); |
80 | 80 |
81 if (!resultList.isEmpty()) { | 81 if (!resultList.isEmpty()) { |
82 | |
83 facets.add(VegetationZonesCrossSectionProcessor.createVegetationZonesCrossSectionFacet(context, hash, this.id, resultList.get(0), 0)); | |
84 | |
82 final Facet csv = new DataFacet(FacetTypes.CSV, "CSV data", ComputeType.ADVANCE, hash, this.id); | 85 final Facet csv = new DataFacet(FacetTypes.CSV, "CSV data", ComputeType.ADVANCE, hash, this.id); |
83 final Facet pdf = new DataFacet(FacetTypes.PDF, "PDF data", ComputeType.ADVANCE, hash, this.id); | 86 final Facet pdf = new DataFacet(FacetTypes.PDF, "PDF data", ComputeType.ADVANCE, hash, this.id); |
84 | 87 |
85 facets.add(csv); | 88 facets.add(csv); |
86 facets.add(pdf); | 89 facets.add(pdf); |