@Override
    public void downloadingCancelled() {
      ApplicationManager.getApplication().invokeLater(() -> {
        if (myFileEditor != null) {
          showCard(EDITOR_CARD);
        }
        else {
          myErrorLabel.setText(IdeBundle.message("label.downloading.cancelled"));
          showCard(ERROR_CARD);
        }
      });
    }
@Override
    public void downloadingCancelled()