public void handleEvent(MessageBoxEvent be) {
Button btt = be.getButtonClicked();
if (Dialog.OK.equals(btt.getItemId())) {
if (isSave == false) {
saveAction(chantier.getId(), transfertPpId);
GuiUtil.gotoEcran(new SyntheseEcran(chantier, role, user));
} else {
GuiUtil.gotoEcran(new SyntheseEcran(chantier, role, user));
}
}
}
};
createConfirmBox(callback, messages.deleteConfirmTitle(), messages.confirmSupprimer());