comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java @ 4666:28eb979ae31b

Reordered some attributes in editor ui and use the hidden attribute.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 12 Dec 2012 10:38:50 +0100
parents 1c6c2ddac3d6
children b3d7d5289b7f
comparison
equal deleted inserted replaced
4665:f53e2e877aa4 4666:28eb979ae31b
292 "font", 292 "font",
293 "textstyle", 293 "textstyle",
294 "textsize", 294 "textsize",
295 "pointcolor", 295 "pointcolor",
296 "pointsize", 296 "pointsize",
297 "showpointlabel",
297 "textcolor", 298 "textcolor",
298 "backgroundcolor", 299 "backgroundcolor",
299 "showbackground", 300 "showbackground",
300 "showlinelabel", 301 "showlinelabel",
301 "labelfontface", 302 "labelfontface",
303 "labelfontsize", 304 "labelfontsize",
304 "labelfontstyle", 305 "labelfontstyle",
305 "textorientation", 306 "textorientation",
306 "labelshowbg", 307 "labelshowbg",
307 "labelbgcolor", 308 "labelbgcolor",
308 "showpointlabel", 309 "bandwidth",
309 "bandwidthcolor", 310 "bandwidthcolor",
310 "bandwidth"}; 311 "transparency",
312 "showminimum",
313 "showmaximum"};
311 314
312 for (String settingName: sets) { 315 for (String settingName: sets) {
313 StyleSetting set = style.getSetting(settingName); 316 StyleSetting set = style.getSetting(settingName);
314 317
315 if (set == null || set.isHidden()) { 318 if (set == null || set.isHidden()) {
325 } 328 }
326 329
327 // Add settings not in whitelist above. 330 // Add settings not in whitelist above.
328 for (StyleSetting set: style.getSettings()) { 331 for (StyleSetting set: style.getSettings()) {
329 332
330 if (Arrays.asList(sets).contains(set.getName()) || set == null) { 333 if (Arrays.asList(sets).contains(set.getName()) ||
334 set == null ||
335 set.isHidden()
336 ) {
331 continue; 337 continue;
332 } 338 }
333 339
334 DynamicForm property = createPropertyUI( 340 DynamicForm property = createPropertyUI(
335 set.getDisplayName(), 341 set.getDisplayName(),

http://dive4elements.wald.intevation.org