comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/FixRealizingCompute.java @ 5849:a0a7a8f3bd4a

Make showing of outlier facet depending on preprocessing choice.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 26 Apr 2013 11:06:55 +0200
parents 5aa05a7a34b7
children 4897a58c8746
comparison
equal deleted inserted replaced
5848:410a578cfc47 5849:a0a7a8f3bd4a
153 facets.add(new FixReferenceEventsFacet( 153 facets.add(new FixReferenceEventsFacet(
154 0, 154 0,
155 FIX_REFERENCE_EVENTS_WQ, 155 FIX_REFERENCE_EVENTS_WQ,
156 Resources.getMsg(meta, I18N_WQ_EVENTS, I18N_WQ_EVENTS))); 156 Resources.getMsg(meta, I18N_WQ_EVENTS, I18N_WQ_EVENTS)));
157 157
158 facets.add(new FixOutlierFacet( 158
159 0, 159 if (access.getPreprocessing()) {
160 FIX_OUTLIER, 160 facets.add(new FixOutlierFacet(
161 Resources.getMsg(meta, I18N_WQ_OUTLIER, I18N_WQ_OUTLIER))); 161 0,
162 FIX_OUTLIER,
163 Resources.getMsg(meta, I18N_WQ_OUTLIER, I18N_WQ_OUTLIER)));
164 }
162 165
163 return res; 166 return res;
164 } 167 }
165 } 168 }
166 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 169 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org