@Override
	void replaceNode(Node oldNode, Node newNode) {
		if (oldNode == child) {
			child = newNode;
			newNode.parent = this;
			invalidate();
			winMgr.scheduleUpdate();
		}
	}
An oddly named method for an odd use case.  This method is meant to take an existing window,
such as that created by default when loading plugins, and hide it.   Clients cannot simply
call dispose(), as that would also dispose the entire child hierarchy of this class.  This
method is intended to keep all children not disposed while allowing this window node to go
away.
Ghidra/Framework/Docking/src/main/java/docking/DetachedWindowNode.java