private void updateProgram(PluginTool tool, Function function) {
		Program newProgram = function == null ? null : function.getProgram();
		if (program == newProgram) {
			return;
		}
		if (program != null) {
			program.removeListener(programListener);
		}

		program = newProgram;

		if (program != null) {
			program.addListener(programListener);
			initializeOptions(tool, function);
		}

	}
Represents one side of a dual decompiler compare window. It holds the decompiler controller and
related state information for one side.
Ghidra/Features/CodeCompare/src/main/java/ghidra/features/codecompare/decompile/CDisplay.java