protected void transferSettings(DisconnectedSymbolTreeProvider newProvider) {
		//
		// Unusual Code: We want to copy the current tree state to the new tree.  Since we are 
		// also applying the filter state below, the tree will use the 'filter restore state'
		// after the filter has been applied.  Thus, we need to set the filter restore state
		// instead of using the GTree's restoreTreeState() method.
		// 
		GTreeState treeState = tree.getTreeState();
		newProvider.tree.setFilterRestoreState(treeState);

		GTreeFilterProvider filterProvider = tree.getFilterProvider();
		GTreeFilterProvider newFilterProvider = filterProvider.copy(newProvider.tree);
		newProvider.tree.setFilterProvider(newFilterProvider);
	}
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