code: void changedSearchType() {
  
          SearchType type = (SearchType)m_searchType.getValue();
  
          m_property.setVisible(type.isPropertySearch());
          m_searchPattern.setVisible(
              (!type.equals(SearchType.resourcetype)) & (!type.equals(SearchType.renameContainer)));
          m_resourceSearch.setVisible(type.equals(SearchType.resourcetype) | type.equals(SearchType.renameContainer));
          if ((!type.equals(SearchType.resourcetype)) & (!type.equals(SearchType.renameContainer))) {
              m_ignoreSubSites.setValue(Boolean.FALSE);
              m_ignoreSubSites.setVisible(false);
          } else {
              m_ignoreSubSites.setVisible(true);
          }
  
          m_searchIndex.setVisible(type.isSolrSearch());
          m_solrQuery.setVisible(type.isSolrSearch());
          updateReplace();
          m_xPath.setVisible(type.isContentValuesOnly());
          m_locale.setVisible(type.isContentValuesOnly());
  
          m_resourceType.setVisible(
              !type.isPropertySearch()
                  & !type.equals(SearchType.resourcetype)
                  & !type.equals(SearchType.renameContainer));
  
          IndexedContainer types = (IndexedContainer)m_resourceType.getContainerDataSource();
          types.removeAllContainerFilters();
          types.addContainerFilter(
              type.isContentValuesOnly() ? CmsVaadinUtils.FILTER_XML_CONTENTS : CmsVaadinUtils.FILTER_NO_FOLDERS);
      }
docs: Handles search type changes.<p>