{
    if (object instanceof EList)
    {
      for (Object child : (EList<?>)object)
      {
        return getFont(child);
      }

      return null;
    }
    else
    {
      IItemFontProvider itemFontProvider = (IItemFontProvider)adapterFactory.adapt(object, IItemFontProvider.class);

      return
        itemFontProvider != null ?
          itemFontProvider.getFont(object) :
          null;
    }
  }