Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/FixDerivedProcessor.java @ 8860:28df64078f27
Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 11:23:42 +0100 |
parents | a805211690f7 |
children | 1cc7653ca84f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8854:7bbfb24e6eec | 8860:28df64078f27 |
---|---|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde | |
2 * Software engineering by Intevation GmbH | |
3 * | |
4 * This file is Free Software under the GNU AGPL (>=v3) | |
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | |
6 * documentation coming with Dive4Elements River for details. | |
7 */ | |
8 | |
1 package org.dive4elements.river.exports.process; | 9 package org.dive4elements.river.exports.process; |
2 | 10 |
3 import java.util.Map; | 11 import java.util.Map; |
4 | 12 |
5 import org.apache.log4j.Logger; | 13 import org.apache.log4j.Logger; |
77 } | 85 } |
78 | 86 |
79 @Override | 87 @Override |
80 public String getAxisLabel(DiagramGenerator generator) { | 88 public String getAxisLabel(DiagramGenerator generator) { |
81 CallMeta meta = generator.getCallContext().getMeta(); | 89 CallMeta meta = generator.getCallContext().getMeta(); |
82 RiverAccess access = new RiverAccess((D4EArtifact)generator.getMaster()); | 90 RiverAccess access = |
91 new RiverAccess((D4EArtifact)generator.getMaster()); | |
83 String unit = access.getRiver().getWstUnit().getName(); | 92 String unit = access.getRiver().getWstUnit().getName(); |
84 | 93 |
85 if (yAxisLabel != null && !yAxisLabel.isEmpty()) { | 94 if (yAxisLabel != null && !yAxisLabel.isEmpty()) { |
86 return Resources.getMsg( | 95 return Resources.getMsg( |
87 meta, | 96 meta, |