private void addToSelection(ProgramNode node) {
		final TreePath p = node.getTreePath();
		tree.addSelectionPath(p);
		Runnable r = new Runnable() {
			@Override
			public void run() {
				tree.addSelectionPath(p);
			}
		};
		SwingUtilities.invokeLater(r);
	}
Add the path for the given node to the selection.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ReorderManager.java