public void addComponent(ComponentProvider provider, boolean show) {

		checkIfAlreadyAdded(provider);
		HelpLocation helpLoc = provider.getHelpLocation();
		registerHelpLocation(provider, helpLoc);
		ComponentPlaceholder placeholder = placeholderManager.createOrRecyclePlaceholder(provider);
		showComponent(placeholder, show, true);
		scheduleUpdate();
	}
Adds a new component (via the provider) to be managed by this docking window manager. The
component will be initially shown or hidden based on the "show" parameter.

@param provider the component provider.
@param show indicates whether or not the component should be initially shown.
Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java