private void notifyTaskListener() {

			if (taskListener == null) {
				return;
			}

			Swing.runNow(() -> {
				if (wasCanceled) {
					taskListener.taskCancelled(MergeTask.this);
				}
				else {
					taskListener.taskCompleted(MergeTask.this);
				}
			});
		}
Construct a new MergeTask.

@param tool tool that has the domain files open
@param list list of DomainFiles to be merged
@param taskListener listener that is notified when this task
           completes
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java