@Override
	// This is for the DataFlavorHandler interface for handling OS files dropped onto a DataTree
	public boolean handle(PluginTool tool, DataTree dataTree, GTreeNode destinationNode,
			Object transferData, int dropAction) {
		List<File> fileList = CollectionUtils.asList((List<?>) transferData, File.class);
		if (fileList.isEmpty()) {
			return false;
		}
		doImport(getDomainFolder(destinationNode), fileList, tool, dataTree);
		return true;
	}
A handler to facilitate drag-n-drop for a list of Java {@link File} objects which is dropped
onto the Project data tree or a running Ghidra Tool (see {@link DataFlavor#javaFileListFlavor}).
Ghidra/Features/Base/src/main/java/ghidra/framework/main/datatree/JavaFileListHandler.java