comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageWidget.java @ 7971:93da474506e7

Changed twin dc panel in bed height deifferences to single dc and use the new differences dc macro.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 26 Jun 2014 14:59:28 +0200
parents 8d9859d776e5
children e3c2ae1887e8
comparison
equal deleted inserted replaced
7970:d66ea32d98bc 7971:93da474506e7
290 290
291 return toLoad; 291 return toLoad;
292 } 292 }
293 293
294 294
295 public List<TreeNode> getPlainSelection() {
296 ListGridRecord [] selection = treeGrid.getSelectedRecords();
297 List<TreeNode> nodes = new ArrayList<TreeNode>();
298 if (selection != null) {
299 for (ListGridRecord record: selection) {
300 if (record instanceof TreeNode) {
301 nodes.add((TreeNode)record);
302 }
303 }
304 }
305 return nodes;
306 }
307
308
295 /** 309 /**
296 * Returns the titles of selected items (if any). 310 * Returns the titles of selected items (if any).
297 */ 311 */
298 public String[] getSelectionTitles() { 312 public String[] getSelectionTitles() {
299 if (treeGrid == null) { 313 if (treeGrid == null) {

http://dive4elements.wald.intevation.org