class NotificationEditorWidget implements IsWidget,
                                                 NotificationEditorWidgetView.Presenter {

    @Override
    public void addGroups(List<String> groups) {
        if (nonEmpty(groups)) {
            groups.forEach(g -> view.addGroupToLiveSearch(g));
            view.addGroupsToSelect(groups);
        }
    }

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

}