Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/AbstractWQAdaptedInputPanel.java @ 9412:0fb76f2d4e5b
bundu wst time range globalErrorMsg to client - no error thrown
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 11:40:28 +0200 |
parents | 38201f5b0dd9 |
children | 4cccbd32b680 |
comparison
equal
deleted
inserted
replaced
9411:fe7edef5af47 | 9412:0fb76f2d4e5b |
---|---|
472 /** Add Info to helper table for gauge at index gaugeIdx. */ | 472 /** Add Info to helper table for gauge at index gaugeIdx. */ |
473 public void addWQInfo(final WQInfoObject[] wqi, final int gaugeIdx, final GaugeInfoObject gauge) { | 473 public void addWQInfo(final WQInfoObject[] wqi, final int gaugeIdx, final GaugeInfoObject gauge) { |
474 if (wqi == null) { | 474 if (wqi == null) { |
475 // this.wTables.get(gaugeIdx).setLoadingDataMessage(""); (keine W-tables vorhanden - wo W-Table benutzt werden, gibt es | 475 // this.wTables.get(gaugeIdx).setLoadingDataMessage(""); (keine W-tables vorhanden - wo W-Table benutzt werden, gibt es |
476 // ein Popup) | 476 // ein Popup) |
477 final String emptyMsg = gauge.getErrorMessage(); | 477 final String emptyMsg = gauge.getErrorMsg(); |
478 final QDTable table = this.qdTables.get(gaugeIdx); | 478 final QDTable table = this.qdTables.get(gaugeIdx); |
479 table.setEmptyMessage(emptyMsg == null ? "" : emptyMsg); | 479 table.setEmptyMessage(emptyMsg == null ? "" : emptyMsg); |
480 table.redraw(); | 480 table.redraw(); |
481 } else { | 481 } else { |
482 for (final WQInfoObject wi : wqi) { | 482 for (final WQInfoObject wi : wqi) { |
490 this.qdTables.get(gaugeIdx).addData(rec); | 490 this.qdTables.get(gaugeIdx).addData(rec); |
491 } | 491 } |
492 } | 492 } |
493 } | 493 } |
494 if (gauge != null) | 494 if (gauge != null) |
495 AbstractWQAdaptedInputPanel.this.doubleArrayPanels.get(gaugeIdx).setError(gauge.getErrorMessage()); | 495 AbstractWQAdaptedInputPanel.this.doubleArrayPanels.get(gaugeIdx).setError(gauge.getErrorMsg()); |
496 } | 496 } |
497 | 497 |
498 public void resetLoadingMessageOfQTable(final String msg) { | 498 public void resetLoadingMessageOfQTable(final String msg) { |
499 for (final QDTable table : this.qdTables) { | 499 for (final QDTable table : this.qdTables) { |
500 table.setEmptyMessage(msg); | 500 table.setEmptyMessage(msg); |