class ValidationPopup implements ValidationPopupView.Presenter {

    public void showCopyValidationMessages(final Command yesCommand,
                                           final Command cancelCommand,
                                           final List<ValidationMessage> validationMessages) {
        clear();
        view.setYesButtonText(translationService.getTranslation(KieWorkbenchWidgetsConstants.ValidationPopup_YesCopyAnyway));
        view.showYesButton(true);

        view.setCancelButtonText(translationService.getTranslation(KieWorkbenchWidgetsConstants.ValidationPopup_Cancel));
        view.showCancelButton(true);

        initAndShowModal(yesCommand,
                         cancelCommand,
                         validationMessages);
    }

    @Inject public  ValidationPopup(final ValidationPopupView view,
                           final ValidationMessageTranslatorUtils validationMessageTranslatorUtils,
                           final TranslationService translationService,
                           final Event<NotificationEvent> notificationEvent);

}