void setProgram(Program p) {
		if (program == p) {
			return;
		}
		program = p;
		plugin.enableActions(false);
		if (p == null) {
			view = null;
		}
		treePanel.setProgram(p);
		if (program != null) {
			plugin.enableActions(true);
		}
	}
Set the program.
@param p program, may be null if the program is closed
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/TreeViewProvider.java