changeset 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 37b4287f932c
children b892658a4fc9
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 2 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Mar 16 07:16:58 2012 +0000
+++ b/flys-client/ChangeLog	Fri Mar 16 11:04:35 2012 +0000
@@ -1,3 +1,10 @@
+2012-03-16  Raimund Renkert <raimund.renkert@intevation.de>
+
+	Issue 493.
+
+	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
+	  Create an empty element for the symbol property.
+
 2012-03-16  Ingo Weinzierl <ingo@intevation.de>
 
 	* Tagged module as 'pre2.7-2012-03-16'.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Fri Mar 16 07:16:58 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Fri Mar 16 11:04:35 2012 +0000
@@ -340,6 +340,11 @@
             f.setValueMap(valueMap);
             f.setValue(value);
         }
+        else if (type.equals("Symbol")) {
+            //create an empty element as long as this property can not be
+            //changed.
+            f = new StaticTextItem("");
+        }
         else {
             f = new FormItem();
         }

http://dive4elements.wald.intevation.org