void (AnActionEvent e, boolean state) { final Sdk sdk = getSelectedSdk(); if (sdk == null || !(myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge)) return; if (bridge.isConda()) { bridge.setUseConda(state); } updatePackages(myPackageManagementService); }