private JPanel buildInnerTypesPanel() {
		JPanel panel = new JPanel(new GridLayout(0, 3, 10, 5));
		panel.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
		for (SearchType type : allTypes) {
			JCheckBox cb = new JCheckBox(type.getName());
			typeCheckboxes.add(cb);
			cb.setToolTipText(type.getDescription());
			cb.addActionListener(e -> typeCheckBoxChanged(cb, type));
			panel.add(cb);
		}
		return panel;
	}
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