Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeLongitudinalSectionGenerator.java @ 2325:1fcaeced48f2
#485 Fixed broken renaming of chart themes.
flys-artifacts/trunk@4009 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 09 Feb 2012 15:59:49 +0000 |
parents | e2124ca11adb |
children | 9425b7c51b73 |
comparison
equal
deleted
inserted
replaced
2324:867ebe191799 | 2325:1fcaeced48f2 |
---|---|
52 } | 52 } |
53 | 53 |
54 Facet facet = artifactFacet.getFacet(); | 54 Facet facet = artifactFacet.getFacet(); |
55 | 55 |
56 if (IS.WQ_KM(name)) { | 56 if (IS.WQ_KM(name)) { |
57 doWOut((WQKms) artifactFacet.getData(context), facet, attr, visible); | 57 doWOut( |
58 (WQKms) artifactFacet.getData(context), | |
59 artifactFacet, | |
60 attr, | |
61 visible); | |
58 } | 62 } |
59 else if (name.equals(DISCHARGE_LONGITUDINAL_Q)) { | 63 else if (name.equals(DISCHARGE_LONGITUDINAL_Q)) { |
60 doQOut((WQKms) artifactFacet.getData(context), facet, attr, visible); | 64 doQOut( |
65 (WQKms) artifactFacet.getData(context), | |
66 artifactFacet, | |
67 attr, | |
68 visible); | |
61 } | 69 } |
62 else if (name.equals(DISCHARGE_LONGITUDINAL_C)) { | 70 else if (name.equals(DISCHARGE_LONGITUDINAL_C)) { |
63 doCorrectedWOut( | 71 doCorrectedWOut( |
64 (WQCKms) artifactFacet.getData(context), | 72 (WQCKms) artifactFacet.getData(context), |
65 facet, | 73 facet, |
66 attr, | 74 attr, |
67 visible); | 75 visible); |
68 } | 76 } |
69 else if (IS.W_KM(name)) { | 77 else if (IS.W_KM(name)) { |
70 doWOut((WKms) artifactFacet.getData(context), facet, attr, visible); | 78 doWOut( |
79 (WKms) artifactFacet.getData(context), | |
80 artifactFacet, | |
81 attr, visible); | |
71 } | 82 } |
72 else if (name.equals(LONGITUDINAL_ANNOTATION)) { | 83 else if (name.equals(LONGITUDINAL_ANNOTATION)) { |
73 doAnnotations((FLYSAnnotation) artifactFacet.getData(context), | 84 doAnnotations((FLYSAnnotation) artifactFacet.getData(context), |
74 facet, attr, visible); | 85 artifactFacet, attr, visible); |
75 } | 86 } |
76 else if (FacetTypes.IS.MANUALPOINTS(name)) { | 87 else if (FacetTypes.IS.MANUALPOINTS(name)) { |
77 doPoints(artifactFacet.getData(context), | 88 doPoints(artifactFacet.getData(context), |
78 artifactFacet.getFacetDescription(), | 89 artifactFacet, |
79 attr, visible, YAXIS.W.idx); | 90 attr, visible, YAXIS.W.idx); |
80 } | 91 } |
81 else { | 92 else { |
82 logger.warn("Unknown facet name: " + name); | 93 logger.warn("Unknown facet name: " + name); |
83 } | 94 } |