@Override
	public boolean launchDiff(Program otherProgram) {
		if (taskInProgress) {
			Msg.error(this, "Diff is busy and can't be launched");
			return false;
		}
		if (isDiffActive()) {
			closeProgram2();
		}
		otherProgram.addConsumer(this);
		if (openSecondProgram(otherProgram, null)) {
			launchDiffOnOpenProgram();
		}
		return true;
	}
Creates the plugin for indicating program differences to the user.

@param tool the tool that owns this plugin.
Ghidra/Features/ProgramDiff/src/main/java/ghidra/app/plugin/core/diff/ProgramDiffPlugin.java