@Override @NotNull protected final DefaultActionGroup createPopupActionGroup(final JComponent button) { final DefaultActionGroup group = new DefaultActionGroup(); for (String name : getValidScopeNames()) { group.add(new MenuAction(name)); } group.add(new ConfigureScopesAction()); return group; }
@Override protected void appendActions(@NotNull DefaultActionGroup actionGroup, String helpID) { prependActions(actionGroup); actionGroup.add(myRefreshAction); super.appendActions(actionGroup, helpID); }