Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java @ 894:5341be7dec7a
Removed the table listener for "Q" input. The table is no longer used
for input assistance.
(Issue203)
flys-client/trunk@2739 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 14 Sep 2011 11:07:19 +0000 |
parents | c0e13cf826d7 |
children | 2c8f1112be37 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Sep 14 10:11:50 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Sep 14 11:07:19 2011 +0000 @@ -156,46 +156,6 @@ public WQInputPanel() { qdTable = new QDTable(); wTable = new WTable(); - - initTableListeners(); - } - - - /** - * Initializes the listeners of the WQD tables. - */ - protected void initTableListeners() { - CellClickHandler handler = new CellClickHandler() { - public void onCellClick(CellClickEvent e) { - - if (isWMode()) { - return; - } - - int idx = e.getColNum(); - Record r = e.getRecord (); - double val = r.getAttributeAsDouble("value"); - - if (idx == 0) { - if (isRangeMode()) { - qRangePanel.setFrom(val); - } - else { - qArrayPanel.addValue(val); - } - } - else if (idx == 1) { - if (isRangeMode()) { - qRangePanel.setTo(val); - } - else { - qArrayPanel.addValue(val); - } - } - } - }; - - qdTable.addCellClickHandler(handler); }