public SearchAndReplaceQuery show(PluginTool tool) {
		query = null;
		searchTextComboBox.getTextField().selectAll();
		replaceTextComboBox.setText("");
		updateDialogStatus();
		tool.showDialog(this);
		return query;
	}
Convenience method for initializing the dialog, showing it and returning the query.
@param tool the tool this dialog belongs to
@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