private Set<SearchType> getSelectedSearchTypes() {
		Set<SearchType> set = new HashSet<>();
		for (SearchType type : allTypes) {
			if (selectedTypes.contains(type)) {
				set.add(type);
			}
		}
		return set;
	}
Returns the query generated by the dialog when the "Ok" button is pressed or null if the
dialog was cancelled.
@return the SearchAndReplaceQuery generated by the information in the dialog when the 
"Ok" button is pressed, or null if the dialog was cancelled.
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/SearchAndReplaceDialog.java