@Override
    public void uiDataSnapshot(@NotNull DataSink sink) {
      sink.set(KEY, RunnerContentUi.this);

      Content content = getContentManager().getSelectedContent();
      if (content != null && content.isCloseable()) {
        ContentManager contentManager = Objects.requireNonNull(content.getManager());
        if (contentManager.canCloseContents()) {
          sink.set(CloseAction.CloseTarget.KEY,
                   () -> contentManager.removeContent(content, true, true, true));
        }
      }

      ContentManager originalContentManager = myOriginal == null ? null : myOriginal.getContentManager();
      JComponent originalContentComponent = originalContentManager == null ? null : originalContentManager.getComponent();
      DataSink.uiDataSnapshot(sink, originalContentComponent);
    }
@Override
    public void uiDataSnapshot(@NotNull DataSink sink)