code: public void clearGalleries() {
  
          List<String> selectedGalleries = m_searchObject.getGalleries();
          m_handler.onClearGalleries(selectedGalleries);
          m_searchObject.clearGalleries();
          updateResultsTab(false);
          ValueChangeEvent.fire(this, m_searchObject);
      }
docs: Removes all selected galleries from the search object.<p>