private DomainObject getVersionedObject(Object consumer, int versionNumber, boolean immutable) {
		GetDomainObjectTask task =
			new GetDomainObjectTask(consumer, domainFile, versionNumber, immutable);
		tool.execute(task, 1000);
		return task.getDomainObject();
	}
Set up the drag and drop stuff.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/VersionHistoryPanel.java