void doSetProgram(Program newProgram) {
		controller.clear();
		clipboardProvider.setProgram(newProgram);
		if (currentProgram != null) {
			currentProgram.removeListener(this);
		}
		currentProgram = newProgram;
		if (currentProgram != null) {
			currentProgram.addListener(this);
		}
	}
Called to signal to this provider that it should update its state due to a new function being
graphed.
<p>
The UI is updated by the controller without this provider's knowledge. This call here is to
signal that the provider needs to update its metadata.
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/FGProvider.java