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