class ValidationPopup implements ValidationPopupView.Presenter {

    public void showMessages(final List<ValidationMessage> messages) {
        clear();
        view.setCancelButtonText(translationService.getTranslation(KieWorkbenchWidgetsConstants.ValidationPopup_Cancel));
        view.showCancelButton(true);

        initAndShowModal(() -> {
                         },
                         () -> {
                         },
                         messages);
    }

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

}