@Override
  public Object getTransferData(@NotNull DataFlavor flavor) throws UnsupportedFlavorException {
    if (flavor.getMimeType().startsWith("text/html;")) {  // NON-NLS
      return myHtmlContent.toString();
    }
    else if (flavor.equals(DataFlavor.plainTextFlavor)) {
      return new CharSequenceReader(myPlainContent == null ? "" : myPlainContent);
    }
    else if (flavor.equals(DataFlavor.stringFlavor)) {
      return myPlainContent.toString();
    }

    throw new UnsupportedFlavorException(flavor);
  }
@Override
  public Object getTransferData(@NotNull DataFlavor flavor)