private void refresh(ToolTemplate tc) {
		listeners = WeakDataStructureFactory.createCopyOnWriteWeakSet();
		Element root = tc.saveToXml();
		Element elem = root.getChild("TOOL");

		restoreOptionsFromXml(elem);
		try {
			restorePluginsFromXml(elem);
		}
		catch (PluginException e) {
			Msg.showError(this, getToolFrame(), "Error Restoring Front-end Plugins", e.getMessage(),
				e);
		}
		winMgr.restoreFromXML(tc.getToolElement());

		setConfigChanged(false);
	}
Refresh the plugins in the Ghidra Project Window based on what is contained in the given XML
Element.

@param tc object that contains an entry for each plugin and its configuration state
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java