private void updateChooserForSelection() {
		List<File> selectedFiles = new ArrayList<>();
		int[] selectedIndices = getSelectedIndices();
		for (int index : selectedIndices) {
			selectedFiles.add(model.getFile(index));
		}
		chooser.userSelectedFiles(selectedFiles);
	}
Create a new DirectoryList instance.

@param chooser the {@link GhidraFileChooser} this instance is nested in
@param model the {@link DirectoryListModel}
Ghidra/Framework/Docking/src/main/java/docking/widgets/filechooser/DirectoryList.java