Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java @ 2537:cc5969df0490
New methods in UI providers for fixings states and minor protocol changes.
flys-client/trunk@4449 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 21 May 2012 09:22:29 +0000 |
parents | a911e2968cb1 |
children | 88bca9f735c0 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java Mon May 21 09:17:24 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixLocationPanel.java Mon May 21 09:22:29 2012 +0000 @@ -64,9 +64,9 @@ MESSAGES.unitFrom(), MESSAGES.unitTo(), MESSAGES.unitWidth(), - 5d, - 10d, - 1d, + 0d, + 0d, + 0d, 240, this); @@ -175,6 +175,9 @@ return this.fixFilter; } + public void success() { + inputPanel.setValues(fixInfo.getFrom(), fixInfo.getTo(), 100d); + } /** * This method is used to validate the inserted data in the form fields. @@ -197,6 +200,6 @@ GWT.log("Setting values for cId: " + cid); GWT.log("River: " + fixInfo.getRiver()); GWT.log("Date: " + fixInfo.getEventByCId(cid).getDate()); - GWT.log("Name: " + fixInfo.getEventByCId(cid).getName()); + GWT.log("Name: " + fixInfo.getEventByCId(cid).getDescription()); } }