void (AncestorEvent event) { packagesPanel.updatePackages(PyPackageManagers.getInstance().getManagementService(myProject, mySdk)); packagesPanel.updateNotifications(mySdk); packagesPanel.removeAncestorListener(this); }