@Test public void testInitSession() { presenter.init(session); verify(variableSearchService).init(session); verify(functionSearchService).init(session); }
@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); }
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); } }
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  SimpleConditionEditorPresenter(final View view,
                                          final ManagedInstance<ConditionParamPresenter> paramInstance,
                                          final VariableSearchService variableSearchService,
                                          final FunctionSearchService functionSearchService,
                                          final FunctionNamingService functionNamingService,
                                          final ClientTranslationService translationService); }
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  SimpleConditionEditorPresenter(final View view,
                                          final ManagedInstance<ConditionParamPresenter> paramInstance,
                                          final VariableSearchService variableSearchService,
                                          final FunctionSearchService functionSearchService,
                                          final FunctionNamingService functionNamingService,
                                          final ClientTranslationService translationService); @PostConstruct void init(); View getView(); void init(ClientSession session); @Override void setValue(Condition value); @Override void setReadOnly(boolean readOnly); void clear(); boolean isValid(); }
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  SimpleConditionEditorPresenter(final View view,
                                          final ManagedInstance<ConditionParamPresenter> paramInstance,
                                          final VariableSearchService variableSearchService,
                                          final FunctionSearchService functionSearchService,
                                          final FunctionNamingService functionNamingService,
                                          final ClientTranslationService translationService); @PostConstruct void init(); View getView(); void init(ClientSession session); @Override void setValue(Condition value); @Override void setReadOnly(boolean readOnly); void clear(); boolean isValid();  }