DefaultActionGroup () { DefaultActionGroup gearActions = new DefaultActionGroup() { @Override public void update(@NotNull AnActionEvent e) { super.update(e); e.getPresentation().setIcon(AllIcons.Actions.More); e.getPresentation().putClientProperty(ActionButton.HIDE_DROPDOWN_ICON, Boolean.TRUE); } @Override public @NotNull ActionUpdateThread getActionUpdateThread() { return ActionUpdateThread.BGT; } }; gearActions.setPopup(true); EditSourceActionBase edit = new EditSourceAction(); edit.registerCustomShortcutSet(new CompositeShortcutSet(CommonShortcuts.getEditSource(), CommonShortcuts.ENTER), this); gearActions.add(edit); ShowInFindWindowAction showInWindow = new ShowInFindWindowAction(); gearActions.add(showInWindow); return gearActions; }