void setProgram(Program program) {
		this.program = program;
		if (!isVisible()) {
			return;
		}

		if (program == null) {
			return;
		}

		program.addListener(domainObjectListener);

		rebuildTree();

		// restore any state that may be saved
		GTreeState treeState = treeStateMap.get(program);
		if (treeState != null) {
			tree.restoreTreeState(treeState);
		}
	}
Called to have this symbol tree provider copy settings into the given provider.
@param newProvider the new provider
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symboltree/SymbolTreeProvider.java