aheinecke@7153: /* Copyright (C) 2013 by Bundesanstalt für Gewässerkunde aheinecke@7153: * Software engineering by Intevation GmbH aheinecke@7153: * aheinecke@7153: * This file is Free Software under the GNU AGPL (>=v3) aheinecke@7153: * and comes with ABSOLUTELY NO WARRANTY! Check out the aheinecke@7153: * documentation coming with Dive4Elements River for details. aheinecke@7153: */ aheinecke@7153: aheinecke@7153: package org.dive4elements.river.exports.process; aheinecke@7153: aheinecke@7153: import org.apache.log4j.Logger; aheinecke@7153: aheinecke@7153: import org.dive4elements.river.exports.DiagramGenerator; aheinecke@7153: aheinecke@7685: public class SedimentLoadTAProcessor extends SedimentLoadProcessor{ aheinecke@7153: teichmann@8202: private final static Logger log = felix@7503: Logger.getLogger(SedimentLoadTAProcessor.class); aheinecke@7153: felix@7503: public static final String I18N_YAXIS_LABEL = aheinecke@7153: "chart.sedimentload.ls.yaxis.label.tpera"; felix@7503: public static final String I18N_YAXIS_LABEL_DEFAULT = "[t/a]"; aheinecke@7153: aheinecke@7153: @Override aheinecke@7153: public boolean canHandle(String facettype) { tom@8148: return facettype.startsWith("sedimentload") && tom@8148: !facettype.startsWith("sedimentload.m3a"); aheinecke@7153: } aheinecke@7153: aheinecke@7153: @Override aheinecke@7153: public String getAxisLabel(DiagramGenerator generator) { felix@7503: return generator.msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL_DEFAULT); aheinecke@7153: } aheinecke@7153: }