private void updateUiForFunction(Function function) {

		notifyContextChanged();
		if (currentFunction == null) {
			clearTrees();
			return;
		}

		setTreesPending();
		updateTitle();
		reloadUpdateManager.update();
	}
A variable used to restrict open-ended operations, like expanding all nodes or filtering.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/calltree/CallTreeProvider.java