Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 2908:cd068ff7966d
Show only style attributes in StyleEditorWindow that are not 'hidden'.
flys-client/trunk@4685 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 18 Jun 2012 11:17:29 +0000 |
parents | d632a6526ad9 |
children | b9433322fcaf |
comparison
equal
deleted
inserted
replaced
2907:3521f330f57c | 2908:cd068ff7966d |
---|---|
275 "linesize", | 275 "linesize", |
276 "linecolor", | 276 "linecolor", |
277 "font", | 277 "font", |
278 "textstyle", | 278 "textstyle", |
279 "textsize", | 279 "textsize", |
280 "pointcolor", | |
280 "pointsize", | 281 "pointsize", |
281 "textcolor", | 282 "textcolor", |
282 "textorientation", | 283 "textorientation", |
283 "backgroundcolor", | 284 "backgroundcolor", |
284 "showbackground", | 285 "showbackground", |
291 "linelabelbgcolor"}; | 292 "linelabelbgcolor"}; |
292 | 293 |
293 for (String settingName: sets) { | 294 for (String settingName: sets) { |
294 StyleSetting set = style.getSetting(settingName); | 295 StyleSetting set = style.getSetting(settingName); |
295 | 296 |
296 if (set == null) { | 297 if (set == null || set.isHidden()) { |
297 continue; | 298 continue; |
298 } | 299 } |
299 | 300 |
300 DynamicForm property = createPropertyUI( | 301 DynamicForm property = createPropertyUI( |
301 set.getDisplayName(), | 302 set.getDisplayName(), |