changeset 2499:8f36d4b5890c

Define order for linelabel theme properties. flys-client/trunk@4332 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 02 May 2012 19:07:23 +0000
parents 499d2692305d
children 69a498896c9c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 2 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed May 02 19:05:16 2012 +0000
+++ b/flys-client/ChangeLog	Wed May 02 19:07:23 2012 +0000
@@ -1,3 +1,8 @@
+2012-05-02	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
+	  Define order for linelabel theme properties.
+
 2012-05-02	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/FLYSConstants.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Wed May 02 19:05:16 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Wed May 02 19:07:23 2012 +0000
@@ -191,7 +191,14 @@
                          "textcolor",
                          "textorientation",
                          "backgroundcolor",
-                         "showbackground"};
+                         "showbackground",
+                         "showlinelabel",
+                         "linelabelfont",
+                         "linelabelcolor",
+                         "linelabelsize",
+                         "linelabelstyle",
+                         "linelabelshowbg",
+                         "linelabelbgcolor"};
 
         for (String settingName: sets) {
             StyleSetting set = style.getSetting(settingName);
@@ -251,7 +258,7 @@
             if (name.equals("linesize")) {
                 f = createLineSizeUI(f);
             }
-            else if (name.equals("textsize")) {
+            else if (name.equals("textsize") || name.equals("linelabelsize")) {
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
                 valueMap.put("3", "3");
                 valueMap.put("5", "5");

http://dive4elements.wald.intevation.org