Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartThemePanel.java @ 529:a1048d310829
Changes in the chart theme panel will now have an effect on the themes stored at the collection.
flys-client/trunk@2017 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 27 May 2011 08:53:22 +0000 |
parents | 39d9291513cc |
children | c17c593f8732 |
comparison
equal
deleted
inserted
replaced
528:39d9291513cc | 529:a1048d310829 |
---|---|
193 GWT.log("Edited record."); | 193 GWT.log("Edited record."); |
194 | 194 |
195 int row = event.getRowNum(); | 195 int row = event.getRowNum(); |
196 FacetRecord rec = (FacetRecord) list.getRecord(row); | 196 FacetRecord rec = (FacetRecord) list.getRecord(row); |
197 | 197 |
198 Theme theme = rec.getTheme(); | |
199 theme.setActive(rec.getActive()); | |
200 | |
198 updateThemeList(rec.getTheme()); | 201 updateThemeList(rec.getTheme()); |
199 } | 202 } |
200 | 203 |
201 | 204 |
202 /** | 205 /** |
280 case 0: moveRecordsTop(records); break; | 283 case 0: moveRecordsTop(records); break; |
281 case 1: moveRecordsUp(records); break; | 284 case 1: moveRecordsUp(records); break; |
282 case 2: moveRecordsDown(records); break; | 285 case 2: moveRecordsDown(records); break; |
283 case 3: moveRecordsBottom(records); break; | 286 case 3: moveRecordsBottom(records); break; |
284 } | 287 } |
288 | |
289 updateCollection(); | |
285 } | 290 } |
286 | 291 |
287 | 292 |
288 /** | 293 /** |
289 * Moves the selected grid records (themes) to the top of the grid. | 294 * Moves the selected grid records (themes) to the top of the grid. |