Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/BedQualityPorosityProcessor.java @ 8592:36faef4f8acb
(issue1755) Add interpolated facets and update themes accordingly
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 19 Mar 2015 13:36:38 +0100 |
parents | e4606eae8ea5 |
children | 1cc7653ca84f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8591:9fa5c66073e7 | 8592:36faef4f8acb |
---|---|
59 generator.addAxisSeries(series, axisName, visible); | 59 generator.addAxisSeries(series, axisName, visible); |
60 } | 60 } |
61 | 61 |
62 @Override | 62 @Override |
63 public boolean canHandle(String facettype) { | 63 public boolean canHandle(String facettype) { |
64 return facettype.equals(FacetTypes.BED_QUALITY_POROSITY_TOPLAYER) || | 64 String name = facettype.replace(".interpol",""); |
65 facettype.equals(FacetTypes.BED_QUALITY_POROSITY_SUBLAYER) || | 65 return name.equals(FacetTypes.BED_QUALITY_POROSITY_TOPLAYER) || |
66 facettype.equals(FacetTypes.POROSITY); | 66 name.equals(FacetTypes.BED_QUALITY_POROSITY_SUBLAYER) || |
67 name.equals(FacetTypes.POROSITY); | |
67 } | 68 } |
68 | 69 |
69 @Override | 70 @Override |
70 public String getAxisLabel(DiagramGenerator generator) { | 71 public String getAxisLabel(DiagramGenerator generator) { |
71 if (yAxisLabel != null && !yAxisLabel.isEmpty()) { | 72 if (yAxisLabel != null && !yAxisLabel.isEmpty()) { |