List<ActionWrapper> () { ActionGroup group = (ActionGroup)ActionManager.getInstance().getAction("Vcs.Push.Actions"); List<PushActionBase> pushActions = new ArrayList<>(ContainerUtil.findAll(group.getChildren(null), PushActionBase.class)); customizeDialog(ContainerUtil.findInstance(pushActions, SimplePushAction.class)); List<PushDialogActionsProvider> actionProviders = PUSH_DIALOG_ACTIONS_PROVIDER_EP.getExtensionList(); for (PushDialogActionsProvider actionProvider : ContainerUtil.reverse(actionProviders)) { pushActions.addAll(0, actionProvider.getCustomActionsAboveDefault(myProject)); } int firstEnabledActionPosition = ContainerUtil.indexOf(pushActions, it -> it.isEnabled(this)); if (firstEnabledActionPosition >= 0) { PushActionBase firstEnabledAction = pushActions.remove(firstEnabledActionPosition); pushActions.add(0, firstEnabledAction); } return ContainerUtil.map(pushActions, action -> new ActionWrapper(myProject, this, action)); }