comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 1369:1fae113b93fd

Issue 118/203. Lock table for Q input and clear values on input change. Updated i18n strings. flys-client/trunk@3074 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 25 Oct 2011 13:32:16 +0000
parents b9b4d27bcf63
children 748e7c828d03
comparison
equal deleted inserted replaced
1368:ec0c81f2c7a4 1369:1fae113b93fd
165 * Initializes the listeners of the WQD tables. 165 * Initializes the listeners of the WQD tables.
166 */ 166 */
167 protected void initTableListeners() { 167 protected void initTableListeners() {
168 CellClickHandler handler = new CellClickHandler() { 168 CellClickHandler handler = new CellClickHandler() {
169 public void onCellClick(CellClickEvent e) { 169 public void onCellClick(CellClickEvent e) {
170 if (isWMode()) { 170 if (isWMode() || qdTable.isLocked()) {
171 return; 171 return;
172 } 172 }
173 173
174 int idx = e.getColNum(); 174 int idx = e.getColNum();
175 Record r = e.getRecord (); 175 Record r = e.getRecord ();
1116 if (wqMode.equals("Q")) { 1116 if (wqMode.equals("Q")) {
1117 qdTable.hideIconFields(); 1117 qdTable.hideIconFields();
1118 } 1118 }
1119 else { 1119 else {
1120 qdTable.showIconFields(); 1120 qdTable.showIconFields();
1121 double[] empty = {};
1122 valuesQ = empty;
1121 } 1123 }
1122 1124
1123 updatePanels(wqMode, inputMode); 1125 updatePanels(wqMode, inputMode);
1124 } 1126 }
1125 1127

http://dive4elements.wald.intevation.org