comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java @ 1617:f13a7c126f24

Allow selection of multiple locations with mouse in MultipleLocationPanel. flys-client/trunk@3986 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 09 Feb 2012 09:52:37 +0000
parents 66671b69c7ea
children 133820d1e6bf
comparison
equal deleted inserted replaced
1616:ff8312688cd5 1617:f13a7c126f24
75 * 75 *
76 * @return the selected/inserted data. 76 * @return the selected/inserted data.
77 */ 77 */
78 public Data[] getData() { 78 public Data[] getData() {
79 saveLocationValues(locationPanel); 79 saveLocationValues(locationPanel);
80 double[] values = getLocationValues(); 80 double[] values = getLocationValues();
81 Data[] data = new Data[values.length+1]; 81 Data[] data = new Data[values.length+1];
82 82
83 for (int i = 0; i < values.length; i++) { 83 for (int i = 0; i < values.length; i++) {
84 data[i] = createDataArray(getDataItemName(), 84 data[i] = createDataArray(getDataItemName(),
85 Double.valueOf(values[i]).toString()); 85 Double.valueOf(values[i]).toString());

http://dive4elements.wald.intevation.org