class SearchController {

    public void performSearch()
    {
        if (mySearchTypeListener == null)
        {
            mySearchTypeListener = this::onSearchTypesChanged;
            myModel.getSelectedSearchTypes().addListener(mySearchTypeListener);
        }

        clearSearch();
        mySearcher.performSearch();
    }

    public  SearchController(Toolbox toolbox, SearchModel searchModel);

}