void () { myIsDownloading = SdkDownloadTracker.getInstance().tryRegisterDownloadingListener(mySdk, myDisposable, myDownloadProgressIndicator, myResetCallback); if (!myIsDownloading) { final SdkModificator sdkModificator = mySdk.getSdkModificator(); for (OrderRootType type : myPathEditors.keySet()) { myPathEditors.get(type).reset(sdkModificator); } sdkModificator.commitChanges(); } setHomePathValue(FileUtil.toSystemDependentName(ObjectUtils.notNull(mySdk.getHomePath(), ""))); myVersionString = null; myHomeFieldLabel.setText(getHomeFieldLabelValue()); myTabbedPane.getComponent().setVisible(!myIsDownloading); myAdditionalDataPanel.setVisible(!myIsDownloading); myDownloadingPanel.setVisible(myIsDownloading); myHomeComponent.setEnabled(!myIsDownloading); if (!myIsDownloading) { updateAdditionalDataComponent(); for (final AdditionalDataConfigurable configurable : getAdditionalDataConfigurable()) { configurable.reset(); } for (int i = 0; i < myTabbedPane.getTabCount(); i++) { myTabbedPane.setEnabledAt(i, true); } } }