Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java @ 2526:a911e2968cb1
Changed some data types in states and filter and added new preprocessing state
to ui provider factory.
flys-client/trunk@4415 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 15 May 2012 15:33:43 +0000 |
parents | 8f528f5ae137 |
children | cc5969df0490 |
comparison
equal
deleted
inserted
replaced
2525:da1d897ed66d | 2526:a911e2968cb1 |
---|---|
172 int v1i = Integer.valueOf(v1).intValue(); | 172 int v1i = Integer.valueOf(v1).intValue(); |
173 int v2i = Integer.valueOf(v2).intValue(); | 173 int v2i = Integer.valueOf(v2).intValue(); |
174 if (v1i <= v2i) { | 174 if (v1i <= v2i) { |
175 this.first = v1; | 175 this.first = v1; |
176 this.second = v2; | 176 this.second = v2; |
177 | |
178 this.fixFilter.setFromClass(v1i); | |
179 this.fixFilter.setToClass(v2i); | |
177 return true; | 180 return true; |
178 } | 181 } |
179 } | 182 } |
180 catch(NumberFormatException nfe) { | 183 catch(NumberFormatException nfe) { |
181 return false; | 184 return false; |