This is a nice idea. Can you also add this to the other table models. I like it when we have the some method to do the same things in all tablemodels. It also looks like it should be moved to BaseSqlTableModel because it is used in all childclasses of it.