final GroupBugIntentionListPopupStep intentionActionGroup = new GroupBugIntentionListPopupStep(_psiElement, intentionActions);
intentionGroups.add(intentionActionGroup);
}
final JBPopupFactory factory = JBPopupFactory.getInstance();
/*return factory.createListPopup(new BaseListPopupStep<SuppressIntentionAction>(FindBugsPluginConstants.PLUGIN_NAME, intentionActions) {
@Override
public PopupStep<?> onChosen(final SuppressIntentionAction selectedValue, final boolean finalChoice) {
final Project project = _psiElement.getProject();
final Editor editor = FileEditorManager.getInstance(project).getSelectedTextEditor();
ApplicationManager.getApplication().runWriteAction(new Runnable() {
public void run() {
selectedValue.invoke(project, editor, _psiElement);
}
});
return super.onChosen(selectedValue, finalChoice);
}
});*/
return factory.createListPopup(new RootGroupBugIntentionListPopupStep(intentionGroups));
}