@Override
	public boolean viewRenamed(String newName) {
		if (program == null) {
			return false;
		}
		if (plugin.renameView(this, newName)) {
			treePanel.setTreeName(newName);
			plugin.reloadTree(treePanel.getDnDTree());
			return true;
		}
		return false;
	}
Provides a view of the program tree.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/TreeViewProvider.java