@Override
        public void onSuccess(boolean isOsRestartRequired) {
          ApplicationManager.getApplication().invokeLater(()-> {
            myFileTypePanel.myAssociateButton.setEnabled(true);
            if (isOsRestartRequired) {
              updateAssociateMessageLabel(
                FileTypesBundle.message("filetype.associate.message.os.restart"), AllIcons.General.Warning);
            }
            else {
              updateAssociateMessageLabel("", null);
            }
            showAssociationBalloon(
              FileTypesBundle.message("filetype.associate.success.message", ApplicationInfo.getInstance().getFullApplicationName()),
              HintUtil.getInformationColor());
          }, ModalityState.any());
        }
@Override
        public void onSuccess(boolean isOsRestartRequired)