comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/FixRealizingCompute.java @ 9342:0c621beceb2f

2.3.4.2.5 Beseitigung des Fehlers beim Laden eines Projektes der BArt „ausgelagerte Wasserspiegellage“
author gernotbelger
date Mon, 30 Jul 2018 14:24:17 +0200
parents 42c15e2f95fb
children ddcd52d239cd
comparison
equal deleted inserted replaced
9339:f812880963a9 9342:0c621beceb2f
140 facets.add(new DataFacet(PDF, "PDF data", ComputeType.ADVANCE, hash, id)); 140 facets.add(new DataFacet(PDF, "PDF data", ComputeType.ADVANCE, hash, id));
141 } 141 }
142 142
143 facets.add(new DataFacet(AT, "AT data", ComputeType.ADVANCE, hash, id)); 143 facets.add(new DataFacet(AT, "AT data", ComputeType.ADVANCE, hash, id));
144 144
145 facets.add(new FixWQCurveFacet(0, Resources.getMsg(meta, I18N_WQ_CURVE, I18N_WQ_CURVE) + " (" + access.getFunction() + ")")); 145 if (fixRes != null)
146 facets.add(new FixWQCurveFacet(0, Resources.getMsg(meta, I18N_WQ_CURVE, I18N_WQ_CURVE) + " (" + access.getFunction() + ")"));
146 147
147 if (access.getPreprocessing()) { 148 if (access.getPreprocessing() && fixRes != null) {
148 facets.add(new FixOutlierFacet(0, FIX_OUTLIER, Resources.getMsg(meta, I18N_WQ_OUTLIER, I18N_WQ_OUTLIER))); 149 facets.add(new FixOutlierFacet(0, FIX_OUTLIER, Resources.getMsg(meta, I18N_WQ_OUTLIER, I18N_WQ_OUTLIER)));
149 } 150 }
150 151
151 return res; 152 return res;
152 } 153 }

http://dive4elements.wald.intevation.org