public void addGTreeSelectionListener(GTreeSelectionListener listener) {
		GTreeSelectionModel selectionModel = (GTreeSelectionModel) tree.getSelectionModel();
		selectionModel.addGTreeSelectionListener(listener);
	}
This method is useful for debugging tree problems. Don't know where else to put it.

@param out the output writer
@param name use this to indicate what tree event occurred ("node inserted" "node removed",
           etc.)
@param e the TreeModelEvent;
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java