Mercurial > hg > STI-GWT
comparison src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java @ 57:cd79dc467688 CellTable
Add comment for highlighting code
author | Sebastian Kruse <skruse@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 11 Dec 2012 15:49:23 +0100 |
parents | 08ae8b6d627f |
children | 39b4d5d590ba |
comparison
equal
deleted
inserted
replaced
56:448fbc8865a5 | 57:cd79dc467688 |
---|---|
311 | 311 |
312 this.elementsTable.setColumnWidth(nameColumn, "33%"); | 312 this.elementsTable.setColumnWidth(nameColumn, "33%"); |
313 this.elementsTable.setColumnWidth(placeColumn, "33%"); | 313 this.elementsTable.setColumnWidth(placeColumn, "33%"); |
314 this.elementsTable.setColumnWidth(descriptionColumn, "33%"); | 314 this.elementsTable.setColumnWidth(descriptionColumn, "33%"); |
315 | 315 |
316 //This handler adds the hover-functionality to the table, | |
317 //basically highlighting of rows (and in the map/timeplot) | |
316 this.elementsTable.addCellPreviewHandler(new Handler<DataObject>() | 318 this.elementsTable.addCellPreviewHandler(new Handler<DataObject>() |
317 { | 319 { |
318 //@Override | 320 //@Override |
319 public void onCellPreview( | 321 public void onCellPreview( |
320 CellPreviewEvent<DataObject> event) | 322 CellPreviewEvent<DataObject> event) |