@Override
			public void actionPerformed(ActionContext context) {

				GTree gTree = getTree(context);
				gTree.tree.isCopyFormatted = true;
				try {
					Action builtinCopyAction = TransferHandler.getCopyAction();
					builtinCopyAction.actionPerformed(new ActionEvent(gTree.tree, 0, "copy"));
				}
				finally {
					gTree.tree.isCopyFormatted = false;
				}
			}
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