private Component buildSelectionCheckboxPanel() {
		JPanel panel = new JPanel(new PairLayout(5, 5));
		selectionOnlyLabel = new GLabel("Selection Only:");
		if (!isFrontEndPlugin()) {
			selectionCheckBox = new GCheckBox("");
			selectionCheckBox.setToolTipText("Select to only export from selected program areas");
			selectionCheckBox.getAccessibleContext().setAccessibleName("Selection Only");
			updateSelectionCheckbox();
			panel.add(selectionOnlyLabel);
			panel.add(selectionCheckBox);
		}
		return panel;
	}
Construct a new ExporterDialog for exporting a program, optionally only exported a
selected region.

@param tool the tool that launched this dialog.
@param domainFile the program file to export. (may be proxy)
@param domainObject the program to export if already open, otherwise null.
@param selection the current program selection (ignored for FrontEnd Tool).
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/exporter/ExporterDialog.java