/** Creates a new instance of TabularDataModelAdapter */
public TabularDataModelAdapter(DataTable table) {
assert table != null;
this.table = table;
mdp = new MetaDataProviderAdapter(table);
table.addDataTableListener(new DataTableListener() {
public void rowChanged(org.jdesktop.dataset.event.RowChangeEvent evt) {
fireRowChanged((DataRow) evt.getSource());
}
public void tableChanged(org.jdesktop.dataset.event.TableChangeEvent evt) {