diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 1545:2f0150f21e77

Added basic UI to enter manual points. flys-client/trunk@3773 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 26 Jan 2012 13:27:19 +0000
parents 959e1d0df941
children e2f74131ffc1
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Thu Jan 26 13:24:17 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Thu Jan 26 13:27:19 2012 +0000
@@ -54,7 +54,8 @@
     protected PanControl panControl;
 
 
-    public ChartToolbar(CollectionView view, ChartOutputTab chartTab) {
+    /** @param chartTab Output-Tab on which this toolbar is located. */
+    public ChartToolbar(ChartOutputTab chartTab) {
         super(chartTab);
 
         this.chartTab   = chartTab;
@@ -208,8 +209,7 @@
 
     /** Open editor for custom points. */
     protected void openPointWindow() {
-
-        // TBD   
+        new ManualPointsEditor(chartTab.getView().getCollection()).show();
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org