code: public static TableFormat makeTableFormat(final TableDescription desc)
      {
          return new AdvancedWritableTableFormat()
          {
              public Class getColumnClass(int i)
              {
                  return desc.getType(i);
              }
  
              public Comparator getColumnComparator(int i)
              {
                  Comparator comp = desc.getColumnComparator(i);
                  if (comp != null)
                      return comp;
  
                  Class type = getColumnClass(i);
                  if (Boolean.class.isAssignableFrom(type) || Boolean.TYPE.isAssignableFrom(type))
                      return GlazedLists.booleanComparator();
                  else if (String.class.isAssignableFrom(type))
                      return getLowerCaseStringComparator();
                  else if(Comparable.class.isAssignableFrom(type))
                      return GlazedLists.comparableComparator();
                  else
                      return null;
              }
  
              public int getColumnCount()
              {
                  return desc.getColumnCount();
              }
  
              public String getColumnName(int i)
              {
                  return desc.getHeader(i);
              }
  
              public Object getColumnValue(Object obj, int i)
              {
                  return desc.getValue(obj, i);
              }
  
              public boolean isEditable(Object baseObject, int column)
              {
                  return desc.getColumnEditor(column) != null;
              }
  
              public Object setColumnValue(Object baseObject, Object editedValue, int column)
              {
                  desc.setValue(baseObject, column, editedValue);
                  return baseObject;
              }
          };
      }
docs: Conversion of RCP TableDescription to GlazedLists TableFormat
  
  @param desc
  @return AdvancedWritableTableFormat