if (isProjectNotLoaded(project, presentation)) {
Messages.showWarningDialog("Project not loaded.", "FindBugs");
return;
}
final FindBugsPreferences preferences = getPluginInterface(project).getPreferences();
if (preferences.getBugCategories().containsValue("true") && preferences.getDetectors().containsValue("true")) {
super.actionPerformed(e);
} else {
FindBugsPluginImpl.showToolWindowNotifier(project, "No bug categories or bug pattern detectors selected. analysis aborted.", MessageType.WARNING);
ShowSettingsUtil.getInstance().editConfigurable(project, IdeaUtilImpl.getPluginComponent(project));
}