Mercurial > dive4elements > river
changeset 7394:5eafd73312ae
BedHeight(Sounding)Processor: Use FacetTypes.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 17 Oct 2013 15:36:00 +0200 |
parents | 73025e68122c |
children | 5126cadaed58 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightData.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightEpochData.java artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightSingleData.java artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightProcessor.java artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightSoundingProcessor.java |
diffstat | 2 files changed, 4 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightProcessor.java Thu Oct 17 15:23:07 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightProcessor.java Thu Oct 17 15:36:00 2013 +0200 @@ -16,6 +16,7 @@ import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; import org.dive4elements.artifacts.CallContext; import org.dive4elements.river.artifacts.model.minfo.BedHeightSingleData; +import org.dive4elements.river.artifacts.model.FacetTypes; import org.dive4elements.river.exports.XYChartGenerator; import org.dive4elements.river.exports.DiagramGenerator; import org.dive4elements.river.jfree.StyledXYSeries; @@ -27,8 +28,6 @@ private final static Logger logger = Logger.getLogger(BedHeightProcessor.class); - private final static String BEDHEIGHT = "bedheight"; - public static final String I18N_AXIS_LABEL_DEFAULT = "Gepeilte Breite [m]"; public static final String I18N_AXIS_LABEL = @@ -90,7 +89,7 @@ @Override public boolean canHandle(String facettype) { - return BEDHEIGHT.equals(facettype); + return FacetTypes.BEDHEIGHT.equals(facettype); } @Override
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightSoundingProcessor.java Thu Oct 17 15:23:07 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/BedHeightSoundingProcessor.java Thu Oct 17 15:36:00 2013 +0200 @@ -16,6 +16,7 @@ import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; import org.dive4elements.artifacts.CallContext; import org.dive4elements.river.artifacts.model.minfo.BedHeightSingleData; +import org.dive4elements.river.artifacts.model.FacetTypes; import org.dive4elements.river.exports.XYChartGenerator; import org.dive4elements.river.exports.DiagramGenerator; import org.dive4elements.river.jfree.StyledXYSeries; @@ -27,8 +28,6 @@ private final static Logger logger = Logger.getLogger(BedHeightSoundingProcessor.class); - private final static String BEDHEIGHT = "bedheight"; - public static final String I18N_AXIS_LABEL_DEFAULT = "Gepeilte Breite [m]"; public static final String I18N_AXIS_LABEL = @@ -90,7 +89,7 @@ @Override public boolean canHandle(String facettype) { - return BEDHEIGHT.equals(facettype); + return FacetTypes.BEDHEIGHT.equals(facettype); } @Override