private void paste(DataTree tree, DomainFolderNode folderNode) {

		List<GTreeNode> list = DataTreeClipboardUtils.getDataTreeNodesFromClipboard();
		boolean isCutOperation = isCutOperation(list);
		checkPasteList(tree, folderNode, list, isCutOperation);

		if (!list.isEmpty()) {
			PasteFileTask task = new PasteFileTask(folderNode, list, isCutOperation);
			new TaskLauncher(task, tree, 1000);
		}
		else {
			// need to force selection event to go out so that the
			// edit actions on the front end edit menu stay in sync
			tree.removeSelectionPath(null);
			tree.setSelectionPath(null);
		}
	}
Process a "paste" request from a menu action.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/ProjectDataPasteAction.java