}).show();
}
@Override
public void onEdit(Device device) {
new DeviceDialog(new Device(device), new DeviceDialog.DeviceHandler() {
@Override
public void onSave(Device device) {
Application.getDataService().updateDevice(device, new BaseAsyncCallback<Device>() {
@Override
public void onSuccess(Device result) {