void saveToolConfigurationToDisk() {
		ToolTemplate template = saveToolToToolTemplate();
		Element root = new Element(FRONT_END_TOOL_XML_NAME);

		String version = Application.getApplicationVersion();
		root.setAttribute(VERSION_ATTRIBUTE_NAME, version);
		root.addContent(template.saveToXml());
		try (OutputStream os = new FileOutputStream(TOOL_FILE)) {
			org.jdom.Document doc = new org.jdom.Document(root);
			XMLOutputter xmlOut = new GenericXMLOutputter();
			xmlOut.output(doc, os);
		}
		catch (IOException e) {
			Msg.showError(this, null, "Error", "Error saving front end configuration", e);
		}
	}
Construct a new Ghidra Project Window.

@param pm project manager
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java