getView().setAllowedManufacturers(manufacturerDtos);
getView().edit(carDto);
}
private void onCarSaved(CarDto oldCar, CarDto newCar) {
DisplayMessageEvent.fire(CarPresenter.this, new Message(messages.carSaved(), MessageStyle.SUCCESS));
CarAddedEvent.fire(CarPresenter.this, newCar, oldCar.getId() == null);
if (oldCar.getId() == null) {
carDto = new CarDto();
getView().resetFields(carDto);