if (objSourceValue instanceof IBasicTableModel)
return new BasicTableModelWrap((IBasicTableModel) objSourceValue,
objColumnModel, usableObjState);
// otherwise, the source parameter must contain the data to be displayed
ITableDataModel objDataModel = null;
if (objSourceValue instanceof Object[])
objDataModel = new SimpleListTableDataModel(
(Object[]) objSourceValue);
else if (objSourceValue instanceof List)
objDataModel = new SimpleListTableDataModel((List) objSourceValue);