DefaultActionGroup () { DefaultActionGroup actions = new DefaultActionGroup(); actions.add(new DumbAwareAction(IdeBundle.message("plugin.manager.repositories")) { @Override public void actionPerformed(@NotNull AnActionEvent e) { if (ShowSettingsUtil.getInstance().editConfigurable(myCardPanel, new PluginHostsConfigurable())) { resetPanels(); } } }); actions.add(new DumbAwareAction(IdeBundle.message("button.http.proxy.settings")) { @Override public void actionPerformed(@NotNull AnActionEvent e) { if (HttpConfigurable.editConfigurable(myCardPanel)) { resetPanels(); } } }); actions.addSeparator(); actions.add(new DumbAwareAction(IdeBundle.message("plugin.manager.custom.certificates")) { @Override public void actionPerformed(@NotNull AnActionEvent e) { if (ShowSettingsUtil.getInstance().editConfigurable(myCardPanel, new PluginCertificateManager())) { resetPanels(); } } }); actions.add(new InstallFromDiskAction(myPluginModel, myPluginModel, myCardPanel) { @RequiresEdt @Override protected void onPluginInstalledFromDisk(@NotNull PluginInstallCallbackData callbackData, @Nullable Project project) { PluginManagerConfigurable.this.onPluginInstalledFromDisk(callbackData); } }); actions.addSeparator(); actions.add(new ChangePluginStateAction(false)); actions.add(new ChangePluginStateAction(true)); return actions; }