changeset 6116:4db57e2f35f5

issue1225/1: Include river name in x axis label.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 27 May 2013 17:59:00 +0200
parents 613c1e14ba28
children 427ef7172476
files artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon May 27 17:57:18 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedDifferenceYearGenerator.java	Mon May 27 17:59:00 2013 +0200
@@ -232,7 +232,9 @@
 
     @Override
     protected String getDefaultXAxisLabel() {
-        return msg(I18N_XAXIS_LABEL, I18N_XAXIS_LABEL_DEFAULT);
+        return msg(I18N_XAXIS_LABEL,
+                   I18N_XAXIS_LABEL_DEFAULT,
+                   new Object[] { getRiverName() });
     }
 
     @Override

http://dive4elements.wald.intevation.org