class NotificationEditorWidgetViewImpl extends Composite implements NotificationEditorWidgetView {

    protected void setPeriod(String period, PeriodBox box) {
        MatchResult match = RegExp.compile(PERIOD).exec(period);
        String duration = match.getGroup(2);
        String result = duration + presenter.minuteOrMonth(match);
        box.setValue(result);
    }

    @Inject public  NotificationEditorWidgetViewImpl(final MultipleSelectorInput multipleSelectorInputUsers,
                                            final MultipleSelectorInput multipleSelectorInputGroups,
                                            final LiveSearchDropDown liveSearchFromDropDown,
                                            final LiveSearchDropDown liveSearchReplyToDropDown,

                                            final AssigneeLiveSearchService assigneeLiveSearchServiceFrom,
                                            final AssigneeLiveSearchService assigneeLiveSearchServiceReplyTo,
                                            final AssigneeLiveSearchService assigneeLiveSearchServiceUsers,
                                            final AssigneeLiveSearchService assigneeLiveSearchServiceGroups);

}