Mercurial > dive4elements > river
view artifacts/src/main/java/org/dive4elements/river/exports/process/WDiffProcessor.java @ 7585:67e87c2d3748
issue1597: Re-enable w/q points in DischargeProcessor. It's yet unclear why it was disabled.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 19 Nov 2013 11:30:50 +0100 |
parents | 4605d6ca4ee9 |
children | 3841303a9158 |
line wrap: on
line source
/* Copyright (C) 2013 by Bundesanstalt für Gewässerkunde * Software engineering by Intevation GmbH * * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the * documentation coming with Dive4Elements River for details. */ package org.dive4elements.river.exports.process; import org.dive4elements.river.artifacts.model.FacetTypes; import org.dive4elements.river.exports.DiagramGenerator; public class WDiffProcessor extends WOutProcessor { public final static String I18N_WDIFF_YAXIS_LABEL = "chart.w_differences.yaxis.label"; public final static String I18N_WDIFF_YAXIS_LABEL_DEFAULT = "m"; @Override public boolean canHandle(String facetType) { if (facetType == null) { return false; } return facetType.equals(FacetTypes.W_DIFFERENCES); } @Override public String getAxisLabel(DiagramGenerator generator) { return generator.msg(I18N_WDIFF_YAXIS_LABEL, I18N_WDIFF_YAXIS_LABEL_DEFAULT); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :