private void removeDescendantsFromView(TreePath parentPath) {
		removeFromView(parentPath);
		ProgramNode node = (ProgramNode) parentPath.getLastPathComponent();
		for (int i = 0; i < node.getChildCount(); i++) {
			ProgramNode child = (ProgramNode) node.getChildAt(i);
			if (child.getAllowsChildren()) {
				removeDescendantsFromView(child.getTreePath());
			}
			else {
				removeFromView(child.getTreePath());
			}
		}
	}
Remove descendant paths from the view.
@param parentPath
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramDnDTree.java