@Override
	public void addComponentProvider(ComponentProvider provider, boolean show) {
		Runnable r = () -> {
			winMgr.addComponent(provider, show);
			toolActions.addGlobalAction(provider.getShowProviderAction());
		};
		Swing.runNow(r);
	}
A partial implementation of {@link Tool} that serves as a place to share common functionality
Ghidra/Framework/Docking/src/main/java/docking/AbstractDockingTool.java