Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/DefaultProcessor.java @ 7122:038a04e001d7
Handle multiple processors for axis labeling.
It now looks for the first processor that provides a label != null
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 24 Sep 2013 18:35:21 +0200 |
parents | 30cec9369608 |
children | 47199406994a |
comparison
equal
deleted
inserted
replaced
7121:30cec9369608 | 7122:038a04e001d7 |
---|---|
55 return; | 55 return; |
56 } | 56 } |
57 | 57 |
58 @Override | 58 @Override |
59 public String getAxisLabel(DiagramGenerator generator) { | 59 public String getAxisLabel(DiagramGenerator generator) { |
60 return "Please overwrite me in the implementation"; | 60 return null; |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 /** | 64 /** |
65 * Returns true if the Processor class is able to generate output for a facet type | 65 * Returns true if the Processor class is able to generate output for a facet type |