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);
else if (objSourceValue instanceof Collection)
objDataModel = new SimpleListTableDataModel(
(Collection) objSourceValue);
else if (objSourceValue instanceof Iterator)
objDataModel = new SimpleListTableDataModel(
(Iterator) objSourceValue);
if (objDataModel == null)
throw new ApplicationRuntimeException(TableMessages
.invalidTableSource(this, objSourceValue));