diff flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java @ 5794:af2aa716152f

Fix issue1254, make GetFeatureInfo work reliably This reduced GetFeatureInfo to one request per layer and chooses the layer based on the selected theme
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 23 Apr 2013 17:14:07 +0200
parents 03de5c424f95
children
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Tue Apr 23 15:32:22 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ThemePanel.java	Tue Apr 23 17:14:07 2013 +0200
@@ -79,7 +79,6 @@
     /** The collection view*/
     protected CollectionView view;
 
-
     /**
      * Setup Grid, navigation bar.
      * @param collection Collection for which to show themes.
@@ -158,6 +157,9 @@
         return getCollection().getThemeList(mode.getName());
     }
 
+    public ListGridRecord[] getSelectedRecords() {
+        return list.getSelectedRecords();
+    }
 
     /**
      * Registers a new OutputParameterChangeHandler.

http://dive4elements.wald.intevation.org