blic void updateAfterUninstall(boolean showRestart) {
    myInstallButton.setVisible(false);
    myUpdateButton.setVisible(false);
    myGearButton.setVisible(false);
    if (myEnableDisableButton != null) {
      myEnableDisableButton.setVisible(false);
    }
    myRestartButton.setVisible(myIsPluginAvailable && showRestart);

    if (!showRestart && InstalledPluginsState.getInstance().wasUninstalledWithoutRestart(getDescriptorForActions().getPluginId())) {
      myInstallButton.setVisible(true);
      myInstallButton.setEnabled(false, IdeBundle.message("plugins.configurable.uninstalled"));
    }

    if (!showRestart) {
      updateNotifications();
    }
  }


blic void updateAfterUninstall(boolean showRestart) {