private TableCellEditor createEditorForNativeType(ColumnInfo columnInfo, DatasetEditorTable table) {
DataEditorSettings dataEditorSettings = DataEditorSettings.getInstance(table.getDatasetEditor().getProject());
DBDataType dataType = columnInfo.getDataType();
DBNativeDataType nativeDataType = dataType.getNativeDataType();
DataTypeDefinition dataTypeDefinition = nativeDataType.getDataTypeDefinition();
GenericDataType genericDataType = dataTypeDefinition.getGenericDataType();
if (genericDataType == GenericDataType.NUMERIC) {
return new DatasetTableCellEditor(table);
}
else if (genericDataType == GenericDataType.DATE_TIME) {
DatasetTableCellEditorWithPopup tableCellEditor = new DatasetTableCellEditorWithPopup(table);