private void selectNodes(List<GTreeNode> nodes) {
		List<TreePath> paths = new ArrayList<>(nodes.size());
		for (GTreeNode node : nodes) {
			paths.add(node.getTreePath());
		}
		tree.setSelectionPaths(paths);
		waitForTree();
	}
Tests for the action that creates labels from the names and values in a selection of enum
data types.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/CreateLabelsFromEnumsTest.java