@Override
    public @NotNull Dimension getPreferredSize() {
      Dimension size = super.getPreferredSize();
      if (myHaveLink) {
        size.width += myLinkWidth;
      }
      return size;
    }
@Override
    public @NotNull Dimension getPreferredSize()