void (boolean success, boolean restartRequired) { myIndicator = null; myNameAndButtons.removeProgressComponent(); if (success) { if (restartRequired) { updateAfterUninstall(true); } else { if (myInstallButton != null) { myInstallButton.setEnabled(false, IdeBundle.message("plugin.status.installed")); if (myMultiTabs && myInstallButton.isVisible()) { myInstalledDescriptorForMarketplace = PluginManagerCore.findPlugin(myPlugin.getPluginId()); if (myInstalledDescriptorForMarketplace != null) { myInstallButton.setVisible(false); myVersion1.setText(myInstalledDescriptorForMarketplace.getVersion()); myVersion1.setVisible(true); updateEnabledState(); return; } } } if (myUpdateButton.isVisible()) { myUpdateButton.setEnabled(false); myUpdateButton.setText(IdeBundle.message("plugin.status.installed")); } myEnableDisableButton.setVisible(false); } } fullRepaint(); }