Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 3364:b31b0d249d21
Set previously selected values for bandwidth theme-prop.
flys-client/trunk@5051 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 19 Jul 2012 08:24:22 +0000 |
parents | dab808e5f516 |
children | a6b7f0585761 |
comparison
equal
deleted
inserted
replaced
3363:8d38a1e097c2 | 3364:b31b0d249d21 |
---|---|
303 "linelabelcolor", | 303 "linelabelcolor", |
304 "linelabelsize", | 304 "linelabelsize", |
305 "linelabelstyle", | 305 "linelabelstyle", |
306 "linelabelshowbg", | 306 "linelabelshowbg", |
307 "linelabelbgcolor", | 307 "linelabelbgcolor", |
308 "bandwidthcolor", | |
308 "bandwidth"}; | 309 "bandwidth"}; |
309 | 310 |
310 for (String settingName: sets) { | 311 for (String settingName: sets) { |
311 StyleSetting set = style.getSetting(settingName); | 312 StyleSetting set = style.getSetting(settingName); |
312 | 313 |
449 else { | 450 else { |
450 e.getForm().setErrors(errors, true); | 451 e.getForm().setErrors(errors, true); |
451 } | 452 } |
452 } | 453 } |
453 }); | 454 }); |
454 | 455 f.setValue(value); |
455 } | 456 } |
456 else if (type.equals("Dash")) { | 457 else if (type.equals("Dash")) { |
457 f = new SelectItem(name, MSG.getString(name)); | 458 f = new SelectItem(name, MSG.getString(name)); |
458 LinkedHashMap<String, String> valueIcons = new LinkedHashMap<String, String>(); | 459 LinkedHashMap<String, String> valueIcons = new LinkedHashMap<String, String>(); |
459 f.setImageURLPrefix(GWT.getHostPageBaseURL() + "images/linestyle-dash-"); | 460 f.setImageURLPrefix(GWT.getHostPageBaseURL() + "images/linestyle-dash-"); |