@Override
        public void run(@NotNull ProgressIndicator indicator) {
          PluginNode pluginNode = toPluginNode(actionDescriptor, indicator);
          if (pluginNode == null) {
            return;
          }

          List<PluginNode> pluginsToInstall = List.of(pluginNode);
          ApplicationManager.getApplication().invokeAndWait(() -> {
            PluginManagerMain.suggestToEnableInstalledDependantPlugins(MyPluginModel.this,
                                                                       pluginsToInstall);
          }, modalityState);


          InstallPluginInfo info = new InstallPluginInfo((BgProgressIndicator)indicator,
                                                         descriptor,
                                                         MyPluginModel.this,
                                                         !isUpdate);
          ApplicationManager.getApplication().invokeLater(() -> prepareToInstall(info), modalityState);

          PluginInstallOperation operation = new PluginInstallOperation(pluginsToInstall,
                                                                        getCustomRepoPlugins(),
                                                                        MyPluginModel.this,
                                                                        indicator);
          operation.setAllowInstallWithoutRestart(allowInstallWithoutRestart.get());

          runInstallOperation(operation, info, modalityState);
        }
@Override
        public void run(@NotNull ProgressIndicator indicator)