@Override
	public void setEnabled(boolean enabled) {
		super.setEnabled(enabled);
		tree.setEnabled(enabled);
		scrollPane.setEnabled(enabled);
		filterProvider.setEnabled(enabled);
	}
Returns the monitor in associated with the GTree for the calling thread. This method is
designed to be used by slow loading nodes that are loading <b>off the Swing thread</b>. Some
of the loading methods are called by the slow loading node at a point when it is not passed a
monitor (like when clients ask how many children the node has).
<p>
When a {@link GTreeTask} is run in thread from a thread pool, it registers its monitor (which
is different than the GTree's) with this tree. Then, if a node performing work, like loading,
needs a monitor, it can call {@link #getThreadLocalMonitor()} in order to get the monitor
that was registered with that thread.
<P>
This method is necessary because the concurrent library used by this tree will provide a
unique monitor for each task that is run, which will be different (but connected) to the
monitor created by this tree.
<p>
If this method is called from a client other than a {@link GTreeTask}, then a dummy monitor
will be returned.

@return the monitor associated with the calling thread; null if the monitor was not set
@see #setThreadLocalMonitor(TaskMonitor)
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTree.java