Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/NormalizedReferenceCurveGenerator.java @ 9123:1cc7653ca84f
Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author | gernotbelger |
---|---|
date | Tue, 05 Jun 2018 19:21:16 +0200 |
parents | af13ceeba52a |
children |
comparison
equal
deleted
inserted
replaced
9122:b8e7f6becf78 | 9123:1cc7653ca84f |
---|---|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the | 5 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
6 * documentation coming with Dive4Elements River for details. | 6 * documentation coming with Dive4Elements River for details. |
7 */ | 7 */ |
8 | 8 |
9 package org.dive4elements.river.exports; | 9 package org.dive4elements.river.exports; |
10 | |
11 import org.dive4elements.artifacts.CallContext; | |
10 | 12 |
11 /** | 13 /** |
12 * An OutGenerator that generates reference curves. | 14 * An OutGenerator that generates reference curves. |
13 */ | 15 */ |
14 public class NormalizedReferenceCurveGenerator | 16 public class NormalizedReferenceCurveGenerator |
23 public NormalizedReferenceCurveGenerator() { | 25 public NormalizedReferenceCurveGenerator() { |
24 } | 26 } |
25 | 27 |
26 /** Get default chart title. */ | 28 /** Get default chart title. */ |
27 @Override | 29 @Override |
28 protected String getDefaultChartTitle() { | 30 protected String getDefaultChartTitle(final CallContext context) { |
29 return msg( | 31 return msg( |
30 I18N_NORMALIZED_CHART_TITLE, | 32 I18N_NORMALIZED_CHART_TITLE, |
31 I18N_NORMALIZED_CHART_TITLE_DEFAULT); | 33 I18N_NORMALIZED_CHART_TITLE_DEFAULT); |
32 } | 34 } |
33 | 35 |