AnAction (QuickFixAction[] fixes) { DefaultActionGroup group = new DefaultActionGroup(); for (QuickFixAction fix : fixes) { group.add(fix); } return new ComboBoxAction() { { getTemplatePresentation().setText(CodeInsightBundle.messagePointer("action.presentation.QuickFixPreviewPanelFactory.text")); setSmallVariant(false); } @Override protected @NotNull DefaultActionGroup createPopupActionGroup(@NotNull JComponent button, @NotNull DataContext context) { return group; } }; }