class NotificationEditorWidget implements IsWidget,
                                                 NotificationEditorWidgetView.Presenter {

    @Override
    public void ok(String emails) {
        String incorrectValue = getFirstInvalidEmail(emails);
        if (incorrectValue.isEmpty()) {
            view.ok();
        } else {
            view.setValidationFailed(incorrectValue);
        }
    }

    @Inject public  NotificationEditorWidget(NotificationEditorWidgetView view,
                                    ClientTranslationService translationService);

}