@Override
	public void setProgram(Program program) {
		if (this.program != null) {
			this.program.removeListener(this);
		}
		this.program = program;
		this.listing = program == null ? null : program.getListing();

		if (this.program != null) {
			this.program.addListener(this);
		}
	}
Service for associating colors with a programs addresses based on what program object is
at those addresses (functions, instructions, defined data, etc.)
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/overview/addresstype/AddressTypeOverviewColorService.java