public void selectSearchType(String searchType) {
		for (JCheckBox checkBox : typeCheckboxes) {
			if (checkBox.getText().equals(searchType)) {
				checkBox.setSelected(true);
				break;
			}
		}
		for (SearchType type : allTypes) {
			if (type.getName().equals(searchType)) {
				selectedTypes.add(type);
				break;
			}
		}
		updateDialogStatus();
	}
Sets the search type with the given name to be selected.
@param searchType the name of the search type to select
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/SearchAndReplaceDialog.java