class AssigneeLiveSearchEntryCreationEditor implements InlineCreationEditor<String>,
                                                              AssigneeLiveSearchEntryCreationEditorView.Presenter {

    @Override
    public void onAccept() {
        String value = view.getValue();
        if (isValid(value)) {
            customEntryCommand.execute(value);
            okCommand.execute(new LiveSearchEntry<>(value, value));
        }
    }

    @Inject public  AssigneeLiveSearchEntryCreationEditor(AssigneeLiveSearchEntryCreationEditorView view, TranslationService translationService);

}