void (final ActionGroup group, final List<? extends AnAction> auxiliaryActions) { DefaultActionGroup menuGroup = new DefaultActionGroup(); menuGroup.add(group); for (AnAction action : auxiliaryActions) { menuGroup.add(action); } menuGroup.add(ActionManager.getInstance().getAction(VcsActions.ACTION_COPY_REVISION_NUMBER)); PopupHandler.installPopupMenu(myChangesTree, menuGroup, "CommittedChangesTreePopup"); }