Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DiagramAttributes.java @ 7084:f0731aa7b735 generator-refactoring
Implement Label handling
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Fri, 20 Sep 2013 19:18:04 +0200 |
parents | 726d998dce29 |
children | 24f153ad1f40 |
comparison
equal
deleted
inserted
replaced
7083:74ebe5e7fa69 | 7084:f0731aa7b735 |
---|---|
283 } | 283 } |
284 } | 284 } |
285 return -1; | 285 return -1; |
286 } | 286 } |
287 | 287 |
288 public Processor getProcessorForAxisName(String axisName) { | |
289 for (Processor pr: processors) { | |
290 if (pr.getAxisName().equals(axisName)) { | |
291 return pr; | |
292 } | |
293 } | |
294 return null; | |
295 } | |
296 | |
288 public String getAxisName(int index) { | 297 public String getAxisName(int index) { |
289 AxisAttributes att = axesAttrs.get(index); | 298 AxisAttributes att = axesAttrs.get(index); |
290 if (att == null) { | 299 if (att == null) { |
291 return ""; /* null? */ | 300 return ""; /* null? */ |
292 } | 301 } |