protected GTree getTree(ActionContext context) {
			Component c = context.getSourceComponent();
			if (c instanceof GTree) {
				return (GTree) c;
			}
			if (c instanceof AutoScrollTree) {
				return ((AutoScrollTree) c).getGTree();
			}
			return null;
		}
Calling setSelectedPaths on GTree queues the selection for after any currently scheduled
tasks. This method sets the selected path immediately and does not wait for any scheduled
tasks.

@param path the path to select.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java