void addProvider(ProgramAssociatedComponentProviderAdapter provider) {
		List<ProgramAssociatedComponentProviderAdapter> providers =
			programsToProviders.computeIfAbsent(provider.getProgram(), p -> new ArrayList<>());
		providers.add(provider);
		tool.addComponentProvider(provider, true);
	}
Record the existence of a {@link ProgramAssociatedComponentProviderAdapter} so that it can
be closed if its associated program is closed
@param provider provider
Ghidra/Extensions/MachineLearning/src/main/java/ghidra/machinelearning/functionfinding/RandomForestFunctionFinderPlugin.java