Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
5793:4cc59122b682 | 5794:af2aa716152f |
---|---|
77 protected ListGrid list; | 77 protected ListGrid list; |
78 | 78 |
79 /** The collection view*/ | 79 /** The collection view*/ |
80 protected CollectionView view; | 80 protected CollectionView view; |
81 | 81 |
82 | |
83 /** | 82 /** |
84 * Setup Grid, navigation bar. | 83 * Setup Grid, navigation bar. |
85 * @param collection Collection for which to show themes. | 84 * @param collection Collection for which to show themes. |
86 */ | 85 */ |
87 public ThemePanel( | 86 public ThemePanel( |
156 */ | 155 */ |
157 public ThemeList getThemeList() { | 156 public ThemeList getThemeList() { |
158 return getCollection().getThemeList(mode.getName()); | 157 return getCollection().getThemeList(mode.getName()); |
159 } | 158 } |
160 | 159 |
160 public ListGridRecord[] getSelectedRecords() { | |
161 return list.getSelectedRecords(); | |
162 } | |
161 | 163 |
162 /** | 164 /** |
163 * Registers a new OutputParameterChangeHandler. | 165 * Registers a new OutputParameterChangeHandler. |
164 * | 166 * |
165 * @param h The new handler. | 167 * @param h The new handler. |