AnAction (boolean popup) { List<? extends AnAction> rollbackActions = createAdditionalRollbackActions(); if (rollbackActions.isEmpty()) { return myRollbackDialogAction; } DefaultActionGroup group = new DefaultActionGroup(myRollbackDialogAction); group.addAll(rollbackActions); ActionUtil.copyFrom(group, IdeActions.CHANGES_VIEW_ROLLBACK); group.setPopup(popup); return group; }