void (@NotNull ActionEvent e) { GradleActionsUsagesCollector.trigger(myProject, GradleActionsUsagesCollector.STOP_SELECTED_DAEMONS); List<DaemonState> selectedObjects = myTable.getSelectedObjects(); ApplicationManager.getApplication().invokeLater(() -> { GradleDaemonServices.stopDaemons(selectedObjects); updateDaemonsList(); }); }