private ProgramSelection getApplicableProgramSelection() {
		if (selectionCheckBox != null && selectionCheckBox.isSelected()) {
			return currentSelection;
		}
		return null;
	}
Gets the address factory for the program to be exported, opening it if necessary.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/exporter/ExporterDialog.java