class SimpleConditionEditorPresenter extends FieldEditorPresenter<Condition> {

    @PostConstruct
    public void init() {
        view.init(this);
        view.getVariableSelectorDropDown().init(variableSearchService, variableSearchSelectionHandler);
        view.getVariableSelectorDropDown().setOnChange(this::onVariableChange);
        view.getConditionSelectorDropDown().init(functionSearchService, functionSearchSelectionHandler);
        view.getConditionSelectorDropDown().setSearchCacheEnabled(false);
        view.getConditionSelectorDropDown().setOnChange(this::onConditionChange);
    }

    @Inject public  SimpleConditionEditorPresenter(final View view,
                                          final ManagedInstance<ConditionParamPresenter> paramInstance,
                                          final VariableSearchService variableSearchService,
                                          final FunctionSearchService functionSearchService,
                                          final FunctionNamingService functionNamingService,
                                          final ClientTranslationService translationService);

}