public DataGatheringParams getDataGatheringParams() {
		DataGatheringParams params = new DataGatheringParams();
		params.setNumFirstBytes(firstBytesField.getIntValue());
		params.setNumPreBytes(preBytesField.getIntValue());
		params.setNumReturnBytes(returnBytesField.getIntValue());
		params.setNumFirstInstructions(firstInstructionsField.getIntValue());
		params.setNumPreInstructions(preInstructionsField.getIntValue());
		params.setNumReturnInstructions(returnInstructionsField.getIntValue());
		String cRegsCSV = contextRegistersField.getText();
		params.setContextRegisters(DataGatheringParams.getContextRegisterList(cRegsCSV));
		return params;
	}
Creates a {@link DataGatheringParams} object from the values in the dialog fields
@return
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/gui/DataGatheringParamsDialog.java