@Override
		public void run(TaskMonitor monitor) throws CancelledException {
			try {
				monitor.setMessage("Searching for " + searchSymbol.getName());
				SymbolNode key = SymbolNode.createNode(searchSymbol, program);
				GTreeNode node = rootNode.findSymbolTreeNode(key, true, monitor);
				if (node != null) {
					tree.setSelectedNode(node);
				}
			}
			catch (DomainObjectException doe) {
				// We have seen this happen if this task is searching for symbols and the program is
				// closed.   The code has been updated to cancel the tree work as the program is 
				// being closed.  We are keeping this here to guard against another unseen path into
				// this type of exception.
				Throwable cause = doe.getCause();
				if (!(cause instanceof ClosedException)) {
					throw doe;
				}
			}
		}
Called to have this symbol tree provider copy settings into the given provider.
@param newProvider the new provider
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/symboltree/SymbolTreeProvider.java