public void hideProgress(boolean success, boolean restartRequired) {
    myIndicator = null;
    myLayout.removeProgressComponent();

    if (success) {
      if (restartRequired) {
        enableRestart();
      }
      else {
        if (myInstallButton != null) {
          myInstallButton.setEnabled(false, IdeBundle.message("plugin.status.installed"));
          if (PluginDetailsPageComponent.isMultiTabs() && myInstallButton.isVisible()) {
            myInstalledDescriptorForMarketplace = PluginManagerCore.findPlugin(myPlugin.getPluginId());
            if (myInstalledDescriptorForMarketplace != null) {
              if (myMarketplace) {
                myInstallButton.setVisible(false);
                myEnableDisableButton.setVisible(true);
                myVersion.setText(myInstalledDescriptorForMarketplace.getVersion());
                myVersion.setVisible(true);
                updateEnabledStateUI();
                fullRepaint();
              }
              else {
                myPlugin = myInstalledDescriptorForMarketplace;
                myInstalledDescriptorForMarketplace = null;
                updateButtons();
              }
              return;
            }
          }
        }
        if (myUpdateButton != null) {
          myUpdateButton.setEnabled(false);
          myUpdateButton.setText(IdeBundle.message("plugin.status.installed"));
          myAfterUpdate = true;
        }
        if (myEnableDisableButton != null) {
          myLayout.removeButtonComponent(myEnableDisableButton);
          myEnableDisableButton = null;

          if (myAlignButton != null) {
            myAlignButton.setVisible(true);
          }
        }
      }
    }

    fullRepaint();
  }
public void hideProgress(boolean success, boolean restartRequired)