Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 2458:208f923032ac
Issue 493.
Replaced the property item with an empty element.
flys-client/trunk@4158 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 16 Mar 2012 11:04:35 +0000 |
parents | 47a7bdfb4d37 |
children | 75d19d46c3cd |
comparison
equal
deleted
inserted
replaced
2457:37b4287f932c | 2458:208f923032ac |
---|---|
337 valueMap.put("standard", "<span style='font-style:normal'>Normal</span>"); | 337 valueMap.put("standard", "<span style='font-style:normal'>Normal</span>"); |
338 valueMap.put("bold", "<span style='font-weight:bold'>Bold</span>"); | 338 valueMap.put("bold", "<span style='font-weight:bold'>Bold</span>"); |
339 valueMap.put("italic", "<span style='font-style:italic'>Italic</span>"); | 339 valueMap.put("italic", "<span style='font-style:italic'>Italic</span>"); |
340 f.setValueMap(valueMap); | 340 f.setValueMap(valueMap); |
341 f.setValue(value); | 341 f.setValue(value); |
342 } | |
343 else if (type.equals("Symbol")) { | |
344 //create an empty element as long as this property can not be | |
345 //changed. | |
346 f = new StaticTextItem(""); | |
342 } | 347 } |
343 else { | 348 else { |
344 f = new FormItem(); | 349 f = new FormItem(); |
345 } | 350 } |
346 f.setTitleStyle("color:#000; width:120px"); | 351 f.setTitleStyle("color:#000; width:120px"); |