Mercurial > dive4elements > river
view artifacts/src/main/java/org/dive4elements/river/exports/process/WDiffProcessor.java @ 7155:34b5e7ef2a36
Add FlowVelocity Processor
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 25 Sep 2013 18:04:14 +0200 |
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 :