@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      final InspectionToolWrapper<?, ?> selectedTool = myPanel.getSelectedTool();
      final String shortName = selectedTool.getShortName();
      final String mainToolId = selectedTool.getMainToolId();
      myPanel.removeSelectedRow();
      final InspectionProfileModifiableModel profile = myPanel.getProfile();
      final InspectionProfileEntry inspection = getInspection(profile, mainToolId);
      InspectionProfileActionProvider.EP_NAME.getExtensionList().forEach(actionProvider -> {
        if (actionProvider.canDeleteInspection(inspection)) {
          actionProvider.deleteInspection(inspection, shortName);
        }
      });
      profile.removeTool(selectedTool);
      profile.setModified(true);
      fireProfileChanged(profile);
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)