@Override
	protected void programActivated(Program program) {
		if (provider == null) {
			return;
		}
		program.addListener(this);
		if (currentLocation != null) {
			FunctionManager functionManager = currentProgram.getFunctionManager();
			currentFunction = functionManager.getFunctionContaining(currentLocation.getAddress());
		}
		provider.programOpened(program);
	}
Creates a BSimFeatureVisualizerPlugin for the given {@link PluginTool}
@param tool plugin tool
Ghidra/Features/BSimFeatureVisualizer/src/main/java/ghidra/bsfv/BSimFeatureVisualizerPlugin.java