Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/vegetationzones/VegetationZonesCalculationResult.java @ 9403:e2da9c8a7c57
VegetationZone umbenennen
author | gernotbelger |
---|---|
date | Wed, 15 Aug 2018 13:22:00 +0200 |
parents | b3d3c958a594 |
children | d421c2bf0195 |
comparison
equal
deleted
inserted
replaced
9402:e511eb935ccd | 9403:e2da9c8a7c57 |
---|---|
39 final Collection<String> header = new ArrayList<>(11); | 39 final Collection<String> header = new ArrayList<>(11); |
40 | 40 |
41 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegname)); | 41 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegname)); |
42 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegdauervon)); | 42 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegdauervon)); |
43 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegdauerbis)); | 43 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegdauerbis)); |
44 if (VegetationZone.HAS_COLORS_EDITABLE) | 44 if (VegetationZoneServerClientXChange.HAS_COLORS_EDITABLE) |
45 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegzone_color)); | 45 header.add(exportContextCSV.formatCsvHeader(UInfoResultType.vegzone_color)); |
46 exportContextCSV.writeCSVLine(header.toArray(new String[header.size()])); | 46 exportContextCSV.writeCSVLine(header.toArray(new String[header.size()])); |
47 } | 47 } |
48 | 48 |
49 @Override | 49 @Override |
83 final Collection<String> lines = new ArrayList<>(11); | 83 final Collection<String> lines = new ArrayList<>(11); |
84 | 84 |
85 lines.add(context.formatRowValue(row, UInfoResultType.vegname)); | 85 lines.add(context.formatRowValue(row, UInfoResultType.vegname)); |
86 lines.add(context.formatRowValue(row, UInfoResultType.vegdauervon)); | 86 lines.add(context.formatRowValue(row, UInfoResultType.vegdauervon)); |
87 lines.add(context.formatRowValue(row, UInfoResultType.vegdauerbis)); | 87 lines.add(context.formatRowValue(row, UInfoResultType.vegdauerbis)); |
88 if (VegetationZone.HAS_COLORS_EDITABLE) | 88 if (VegetationZoneServerClientXChange.HAS_COLORS_EDITABLE) |
89 lines.add(context.formatRowValue(row, UInfoResultType.vegzone_color)); | 89 lines.add(context.formatRowValue(row, UInfoResultType.vegzone_color)); |
90 return lines.toArray(new String[lines.size()]); | 90 return lines.toArray(new String[lines.size()]); |
91 } | 91 } |
92 | 92 |
93 } | 93 } |