changeset 1337:9bf72f84728d

Show theme name in static text field. flys-client/trunk@2982 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 17 Oct 2011 10:10:36 +0000
parents ceb989d64cd2
children c730f0438510
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Oct 17 10:07:48 2011 +0000
+++ b/flys-client/ChangeLog	Mon Oct 17 10:10:36 2011 +0000
@@ -1,3 +1,8 @@
+2011-10-17  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
+	  Show theme name in static text field.
+
 2011-10-17  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Request redraw on attribute change.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Oct 17 10:07:48 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Oct 17 10:10:36 2011 +0000
@@ -13,7 +13,7 @@
 import com.smartgwt.client.widgets.form.fields.SpinnerItem;
 import com.smartgwt.client.widgets.form.fields.ColorPickerItem;
 import com.smartgwt.client.widgets.form.fields.ComboBoxItem;
-import com.smartgwt.client.widgets.form.fields.TextItem;
+import com.smartgwt.client.widgets.form.fields.StaticTextItem;
 
 import com.smartgwt.client.widgets.events.ClickEvent;
 import com.smartgwt.client.widgets.events.ClickHandler;
@@ -131,7 +131,7 @@
         Theme t = facet.getTheme();
         Style s = attributes.getStyle(t.getFacet(), t.getIndex());
 
-        TextItem name = new TextItem("name", "Name");
+        StaticTextItem name = new StaticTextItem("name", "Name");
         name.setValue(facet.getName());
         name.setTitleStyle("color:#000; width:120px");
         name.setTitleAlign(Alignment.LEFT);

http://dive4elements.wald.intevation.org