public static PluginTool showTool(final PluginTool tool) {
		runSwing(() -> {
			boolean wasErrorGUIEnabled = isUseErrorGUI();
			setErrorGUIEnabled(false);// disable the error GUI while launching the tool
			tool.setVisible(true);
			setErrorGUIEnabled(wasErrorGUIEnabled);
		});
		waitForBusyTool(tool);
		return tool;
	}
Adds the given plugin to the tool and then returns the instance of the plugin that was
added

@param tool the tool
@param c the class of the plugin to add
@return the newly added plugin
@throws PluginException  if the plugin could not be constructed, or there was problem
		   executing its init() method, or if a plugin of this class already exists in the tool
Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java