@Override
	public boolean viewClosed() {
		if (program == null) {
			return false;
		}
		if (plugin.closeView(this)) {
			dispose();
			return true;
		}
		return false;
	}
Provides a view of the program tree.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/TreeViewProvider.java