public ComponentProvider getComponentProvider(Component component) {
		Set<ComponentProvider> providers = placeholderManager.getActiveProviders();
		for (ComponentProvider provider : providers) {
			JComponent providerComponent = provider.getComponent();
			if (SwingUtilities.isDescendingFrom(component, providerComponent)) {
				return provider;
			}
		}
		return null;
	}
Returns the component provider that is the conceptual parent of the given component. More
precisely, this will return the component provider whose
{@link ComponentProvider#getComponent() component} is the parent of the given component.

@param component the component for which to find a provider
@return the provider; null if the component is not the child of a provider
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java