DefaultActionGroup (@NotNull DefaultActionGroup toolbarActions, @NotNull String actionsPlace, @Nullable Component toolbarActionsDataProvider) { DefaultActionGroup wrappedActions = new DefaultActionGroup(); for (AnAction action : toolbarActions.getChildren(null)) { ActionWrapper actionLink = new ActionWrapper(action, actionsPlace); actionLink.setDataProvider(toolbarActionsDataProvider); wrappedActions.add(actionLink); } return wrappedActions; }