use of org.activityinfo.client.page.entry.location.LocationDialog.Callback in project activityinfo by bedatadriven.
the class LocationSection method changeLocation.
private void changeLocation() {
LocationDialog dialog = new LocationDialog(dispatcher, activity.getDatabase().getCountry(), activity.getLocationType());
dialog.show(new Callback() {
@Override
public void onSelected(LocationDTO location, boolean isNew) {
updateForm(location, isNew);
}
});
}
Aggregations