DefaultActionGroup (@NotNull JComponent button, @NotNull DataContext context) { final DefaultActionGroup group = new DefaultActionGroup(); for (final PatternDialectProvider provider : PatternDialectProvider.EP_NAME.getExtensionList()) { group.add(new AnAction(provider.getDisplayName()) { @Override public void actionPerformed(@NotNull final AnActionEvent e) { mySettings.SCOPE_TYPE = provider.getShortName(); DependencyUISettings.getInstance().SCOPE_TYPE = provider.getShortName(); rebuild(); } }); } return group; }