void setGroupViewPaths(GroupPath[] gp) {
		ArrayList<TreePath> list = new ArrayList<>(3);
		for (GroupPath element : gp) {
			TreePath p = getTreePathFromGroup(element);
			if (p != null) {
				list.add(p);
			}
		}
		if (list.size() == 0 || (viewList.containsAll(list) && viewList.size() == list.size())) {
			return;
		}
		TreePath[] paths = new TreePath[list.size()];
		setViewPaths(list.toArray(paths));
	}
Get the view using the group paths.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramDnDTree.java