changeset 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 f53e2e877aa4
children e6a282844a33
files flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 1 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Wed Dec 12 10:37:45 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Wed Dec 12 10:38:50 2012 +0100
@@ -294,6 +294,7 @@
                          "textsize",
                          "pointcolor",
                          "pointsize",
+                         "showpointlabel",
                          "textcolor",
                          "backgroundcolor",
                          "showbackground",
@@ -305,9 +306,11 @@
                          "textorientation",
                          "labelshowbg",
                          "labelbgcolor",
-                         "showpointlabel",
+                         "bandwidth",
                          "bandwidthcolor",
-                         "bandwidth"};
+                         "transparency",
+                         "showminimum",
+                         "showmaximum"};
 
         for (String settingName: sets) {
             StyleSetting set = style.getSetting(settingName);
@@ -327,7 +330,10 @@
         // Add settings not in whitelist above.
         for (StyleSetting set: style.getSettings()) {
 
-            if (Arrays.asList(sets).contains(set.getName()) || set == null) {
+            if (Arrays.asList(sets).contains(set.getName()) ||
+                set == null ||
+                set.isHidden()
+            ) {
                 continue;
             }
 

http://dive4elements.wald.intevation.org