Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java @ 263:f56523bf4c55
Changed the empty table message for helper and data tables.
flys-client/trunk@1883 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 10 May 2011 15:36:07 +0000 |
parents | f3ea644800c4 |
children | d3c053420c3b |
comparison
equal
deleted
inserted
replaced
262:44a340c9becc | 263:f56523bf4c55 |
---|---|
181 protected void createDistanceTable() { | 181 protected void createDistanceTable() { |
182 distanceTable.setWidth100(); | 182 distanceTable.setWidth100(); |
183 distanceTable.setShowRecordComponents(true); | 183 distanceTable.setShowRecordComponents(true); |
184 distanceTable.setShowRecordComponentsByCell(true); | 184 distanceTable.setShowRecordComponentsByCell(true); |
185 distanceTable.setHeight100(); | 185 distanceTable.setHeight100(); |
186 distanceTable.setEmptyMessage(MESSAGES.empty_table()); | |
186 | 187 |
187 ListGridField addDistance = new ListGridField ("", ""); | 188 ListGridField addDistance = new ListGridField ("", ""); |
188 addDistance.setType (ListGridFieldType.ICON); | 189 addDistance.setType (ListGridFieldType.ICON); |
189 addDistance.setWidth ("30"); | 190 addDistance.setWidth ("30"); |
190 addDistance.addRecordClickHandler (new RecordClickHandler () { | 191 addDistance.addRecordClickHandler (new RecordClickHandler () { |
245 protected void createLocationTable() { | 246 protected void createLocationTable() { |
246 locationsTable.setWidth100(); | 247 locationsTable.setWidth100(); |
247 locationsTable.setShowRecordComponents(true); | 248 locationsTable.setShowRecordComponents(true); |
248 locationsTable.setShowRecordComponentsByCell(true); | 249 locationsTable.setShowRecordComponentsByCell(true); |
249 locationsTable.setHeight100(); | 250 locationsTable.setHeight100(); |
251 locationsTable.setEmptyMessage(MESSAGES.empty_table()); | |
250 | 252 |
251 ListGridField addLocation = new ListGridField ("", ""); | 253 ListGridField addLocation = new ListGridField ("", ""); |
252 addLocation.setType (ListGridFieldType.ICON); | 254 addLocation.setType (ListGridFieldType.ICON); |
253 addLocation.setWidth ("30"); | 255 addLocation.setWidth ("30"); |
254 addLocation.addRecordClickHandler (new RecordClickHandler () { | 256 addLocation.addRecordClickHandler (new RecordClickHandler () { |
296 locationDistanceTable = new ListGrid (); | 298 locationDistanceTable = new ListGrid (); |
297 locationDistanceTable.setWidth100(); | 299 locationDistanceTable.setWidth100(); |
298 locationDistanceTable.setShowRecordComponents(true); | 300 locationDistanceTable.setShowRecordComponents(true); |
299 locationDistanceTable.setShowRecordComponentsByCell(true); | 301 locationDistanceTable.setShowRecordComponentsByCell(true); |
300 locationDistanceTable.setHeight100(); | 302 locationDistanceTable.setHeight100(); |
303 locationDistanceTable.setEmptyMessage(MESSAGES.empty_table()); | |
301 | 304 |
302 ListGridField addfrom = new ListGridField ("", ""); | 305 ListGridField addfrom = new ListGridField ("", ""); |
303 addfrom.setType (ListGridFieldType.ICON); | 306 addfrom.setType (ListGridFieldType.ICON); |
304 addfrom.setWidth ("30"); | 307 addfrom.setWidth ("30"); |
305 addfrom.setCellIcon (IMAGES.markerGreen ().getURL ()); | 308 addfrom.setCellIcon (IMAGES.markerGreen ().getURL ()); |