comparison artifacts/src/main/java/org/dive4elements/river/exports/process/DischargeProcessor.java @ 7585:67e87c2d3748

issue1597: Re-enable w/q points in DischargeProcessor. It's yet unclear why it was disabled.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 19 Nov 2013 11:30:50 +0100
parents 253d80af5b7f
children 0b4cd7a5f079
comparison
equal deleted inserted replaced
7584:c7638c971574 7585:67e87c2d3748
63 boolean visible, 63 boolean visible,
64 int axisIndex 64 int axisIndex
65 ) { 65 ) {
66 CallContext context = generator.getCallContext(); 66 CallContext context = generator.getCallContext();
67 Object data = bundle.getData(context); 67 Object data = bundle.getData(context);
68 if (false && data instanceof WQKms) { 68 if (data instanceof WQKms) {
69 doWQKmsPointOut( 69 doWQKmsPointOut(
70 generator, (WQKms) data, bundle, theme, visible, axisIndex); 70 generator, (WQKms) data, bundle, theme, visible, axisIndex);
71 return; 71 return;
72 } 72 }
73 else if (data instanceof RiverAnnotation) { 73 else if (data instanceof RiverAnnotation) {
89 89
90 90
91 /** True if this processor knows how to deal with facetType. */ 91 /** True if this processor knows how to deal with facetType. */
92 @Override 92 @Override
93 public boolean canHandle(String facetType) { 93 public boolean canHandle(String facetType) {
94 return /*STATIC_WQKMS_W.equals(facetType) 94 return STATIC_WQKMS_W.equals(facetType)
95 ||*/ COMPUTED_DISCHARGE_MAINVALUES_Q.equals(facetType) 95 || COMPUTED_DISCHARGE_MAINVALUES_Q.equals(facetType)
96 || MAINVALUES_Q.equals(facetType) 96 || MAINVALUES_Q.equals(facetType)
97 || COMPUTED_DISCHARGE_MAINVALUES_W.equals(facetType) 97 || COMPUTED_DISCHARGE_MAINVALUES_W.equals(facetType)
98 || MAINVALUES_W.equals(facetType) 98 || MAINVALUES_W.equals(facetType)
99 || STATIC_W_INTERPOL.equals(facetType); 99 || STATIC_W_INTERPOL.equals(facetType);
100 } 100 }

http://dive4elements.wald.intevation.org