void (Project project, @NotNull DefaultActionGroup group, @NotNull DataContext dataContext) { UIThemeLookAndFeelInfo initialLaf = LafManager.getInstance().getCurrentUIThemeLookAndFeel(); for (List<UIThemeLookAndFeelInfo> list : ThemeListProvider.Companion.getInstance().getShownThemes()) { if (group.getChildrenCount() > 0) { group.addSeparator(); } for (UIThemeLookAndFeelInfo lf : list) { group.add(new LafChangeAction(lf, initialLaf == lf)); } } group.addSeparator(); group.add(new ShowPluginsWithSearchOptionAction(IdeBundle.message("laf.action.install.theme"), "/tag:Theme") { @Override public void actionPerformed(@NotNull AnActionEvent e) { switchLafAndUpdateUI(LafManager.getInstance(), initialLaf, false); super.actionPerformed(e); } }); }