diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java @ 1430:6bb6d43eeb2d

Cosmetics. flys-client/trunk@3383 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 12 Dec 2011 07:23:24 +0000
parents a95e82d6bcc1
children 1c2cd46d526d
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java	Fri Dec 09 14:45:53 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java	Mon Dec 12 07:23:24 2011 +0000
@@ -17,6 +17,9 @@
 import de.intevation.flys.client.client.services.FeedServiceAsync;
 
 /**
+ * ThemePanel on the left in CollectionView.
+ * Contains control widgets for "themes", which are plotted in a diagram (chart).
+ *
  * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
  */
 public class ChartThemePanel extends ThemePanel {
@@ -45,6 +48,17 @@
     }
 
 
+    protected VLayout createLayout() {
+        VLayout layout = new VLayout();
+        layout.setWidth100();
+        layout.setHeight100();
+
+        layout.addMember(list);
+        layout.addMember(navigation);
+
+        return layout;
+    }
+
     /**
      * Initializes the layout of this panel.
      */
@@ -52,14 +66,7 @@
         setWidth100();
         setHeight100();
 
-        VLayout layout = new VLayout();
-        layout.setWidth100();
-        layout.setHeight100();
-
-        layout.addMember(list);
-        layout.addMember(navigation);
-
-        addChild(layout);
+        addChild(createLayout());
     }
 
 

http://dive4elements.wald.intevation.org