private void blockSwingWithProgressDialog(SwingWorkerImpl localWorker) {
		if (!localWorker.isDone()) {

			TaskDialog dialog = new SwingWorkerTaskDialog(name, hasProgress, localWorker);
			taskMonitor.setBlockingMonitor(dialog);
			localWorker.addPropertyChangeListener(new SwingWorkerCompletionWaiter(dialog));
			dialog.show(taskDialogDelay);
		}
	}
A method for clients to use as a callback for completion.  This method will be called in
the Swing thread, after the value has been set.
Ghidra/Framework/Docking/src/main/java/ghidra/util/task/CachingSwingWorker.java