diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java @ 4306:4c2005e6ac65

Close the gauge panel tree folds if a csv result should be shown Fixes flys/issue922 (W-INFO / Pegel-Info-Modul / Verhalten nach Berechnungsende)
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 29 Oct 2012 15:43:49 +0100
parents 250c4a0fa696
children 5e25a2b19ddd
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Mon Oct 29 15:24:32 2012 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterList.java	Mon Oct 29 15:43:49 2012 +0100
@@ -1002,5 +1002,15 @@
         }
     }
 
+    /**
+     * Allow to close all folds of the info panel.
+     * This is necessary e.g. if a csv result should be shown.
+     */
+    public void contractInfoPanel() {
+        if (infoPanel != null) {
+            infoPanel.contract();
+        }
+    }
+
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org