private void prepareToInstall(@NotNull InstallPluginInfo info) {
    IdeaPluginDescriptor descriptor = info.getDescriptor();
    PluginId pluginId = descriptor.getPluginId();
    myInstallingInfos.put(pluginId, info);

    if (myInstallingWithUpdatesPlugins.isEmpty()) {
      myTopController.showProgress(true);
    }
    myInstallingWithUpdatesPlugins.add(descriptor);
    if (info.install) {
      myInstallingPlugins.add(descriptor);
    }

    if (info.install && myInstalling != null) {
      if (myInstalling.ui == null) {
        myInstalling.descriptors.add(descriptor);
        myInstalledPanel.addGroup(myInstalling, 0);
      }
      else {
        myInstalledPanel.addToGroup(myInstalling, descriptor);
      }

      myInstalling.titleWithCount();
      myInstalledPanel.doLayout();
    }

    List<ListPluginComponent> gridComponents = myMarketplacePluginComponentMap.get(pluginId);
    if (gridComponents != null) {
      for (ListPluginComponent gridComponent : gridComponents) {
        gridComponent.showProgress();
      }
    }
    List<ListPluginComponent> listComponents = myInstalledPluginComponentMap.get(pluginId);
    if (listComponents != null) {
      for (ListPluginComponent listComponent : listComponents) {
        listComponent.showProgress();
      }
    }
    for (PluginDetailsPageComponent panel : myDetailPanels) {
      if (panel.getDescriptorForActions() == descriptor) {
        panel.showProgress();
      }
    }
  }
private void prepareToInstall(@NotNull InstallPluginInfo info)