void (@NotNull AnAction action, @NotNull Component component) { DataContext context = ActionToolbar.getDataContextFor(component); AnActionEvent actionEvent = AnActionEvent.createFromAnAction(action, null, ActionPlaces.WELCOME_SCREEN, context); ActionUtil.performActionDumbAwareWithCallbacks(action, actionEvent); }