void (@NotNull DiffTool diffTool) { if (myForcedDiffTool != null) return; if (isSameToolOrSubstitutor(diffTool, myState.getActiveTool(), myContext, myActiveRequest)) return; DiffUsageTriggerCollector.logToggleDiffTool(myProject, diffTool, myContext.getUserData(DiffUserDataKeys.PLACE)); myToolOrder = moveToolToTop(diffTool, myToolOrder, myContext, myActiveRequest); updateToolOrderSettings(myToolOrder); updateRequest(true); }