AnAction () { DefaultActionGroup group = new DefaultActionGroup( new FindAllAction(), new Separator(ApplicationBundle.message("editorsearch.more.multiple.cursors")), new AddOccurrenceAction(), new RemoveOccurrenceAction(), new SelectAllAction() ); group.setPopup(true); group.getTemplatePresentation().setText(ApplicationBundle.message("editorsearch.more.popup")); group.getTemplatePresentation().setIcon(AllIcons.Actions.More); group.getTemplatePresentation().putClientProperty(ActionButton.HIDE_DROPDOWN_ICON, Boolean.TRUE); return group; }