private void removeDefaultAction(Map<String, DockingAction> map, String toolName) {
		DockingAction action = map.get(toolName);
		if (action != null) {
			tool.removeAction(action);
			map.remove(toolName);
		}
	}
Remove the action named toolName.

@param map map to search for the action
@param toolName name of the action (happens to be the name of the tool)
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ToolActionManager.java