diff flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java @ 1463:14ce1c2a9f6c

Removed code for UI generation. SmartGWT classes are not usable on serverside and in model classes. flys-client/trunk@3502 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 20 Dec 2011 15:22:42 +0000
parents 8da36efc839a
children 237e7450ae2e
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java	Tue Dec 20 15:18:07 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertySetting.java	Tue Dec 20 15:22:42 2011 +0000
@@ -3,10 +3,6 @@
 import java.util.HashMap;
 import java.util.ArrayList;
 
-import com.smartgwt.client.widgets.form.DynamicForm;
-
-import de.intevation.flys.client.client.ui.PropertyEditor;
-
 /**
  * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
  */
@@ -21,9 +17,6 @@
     /** Additional attributes.*/
     protected HashMap<String, String> attributes;
 
-    /** The editor dialog. */
-    protected PropertyEditor editor;
-
     /**
      * Create a new StyleSetting for theme attribution.
      */
@@ -73,18 +66,5 @@
     public ArrayList<String> getAttributeList() {
         return new ArrayList<String>(attributes.keySet());
     }
-
-    public DynamicForm generateUI() {
-        return new DynamicForm();
-    }
-
-    public void setEditor(PropertyEditor editor) {
-        this.editor = editor;
-    }
-
-    public PropertyEditor getEditor() {
-        return this.editor;
-    }
 }
-
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org