public void toolSaved(PluginTool tool, boolean toolChanged) {
		String toolName = tool.getToolName();
		if (getToolInstanceCount(tool) == 1) {
			// saving with only one instance open resets the status
			toolStatusMap.put(toolName, ToolSaveStatus.AUTO_SAVE_MODE);
		}
		else if (toolChanged) {
			// if there is more that one tool open and a changed tool is saved, go into ask_mode
			toolStatusMap.put(toolName, ToolSaveStatus.ASK_SAVE_MODE);
		}
	}
Get the key for the connection map.

@param producer tool producing an event
@param consumer tool consuming an event
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ToolManagerImpl.java