public ToolTemplate saveToolToToolTemplate() {
		setConfigChanged(false);
		optionsMgr.removeUnusedOptions();
		return getToolTemplate(true);
	}
Removes the default provider for the given ActionContext type.
@param type the subclass of ActionContext to remove a provider for
@param provider the ActionContextProvider to remove for the given ActionContext type
Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginTool.java