DomainObjectListener createDomainObjectListener() {
		// @formatter:off
		return new DomainObjectListenerBuilder(this)
			.any(ERROR).terminate(this::handleError)
			.each(FILE_CHANGED).call(this::handleFileChanged)
			.build();
		// @formatter:on
	}
Class for tracking open programs in the tool.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/MultiProgramManager.java