125,7 → 125,7 |
|
|
|
private static final int VISIBLE_LOCATION_COUNT = 15; |
private static final int VISIBLE_LOCATION_COUNT = 10; |
private static final String VALUE_UNKNOWN = "Inconnues"; |
|
private Grid header = new Grid(1, 1); |
177,7 → 177,7 |
header.setStyleName("location-ListHeader"); |
|
|
header.setHTML(0, 0, "Localités "); // yeah ! |
header.setHTML(0, 0, "Relevés par commune "); // yeah ! |
|
header.getCellFormatter().setWidth(0, 0, "100%"); |
|
250,10 → 250,10 |
|
styleRow(selectedRow, false); |
selector.getRowFormatter().addStyleName(0, "location-SelectedRow"); |
mediator.onLocationSelected("all"); |
// mediator.onLocationSelected("all"); |
|
|
updateCount(); |
//updateCount(); |
// update() |
|
initWidget(outer); |
279,6 → 279,7 |
JSONNumber jsonNumber; |
if ((jsonNumber = jsonValue.isNumber()) != null) { |
count = (int) jsonNumber.getValue(); |
mediator.onLocationUpdate(location); |
update(); |
} |
} |