class ColumnDefinitionTableModel extends AbstractTableModel {

    public void clear()
    {
        int lastIndex = myRows.size() - 1;

        myRows.clear();

        if (lastIndex >= 0)
        {
            fireTableRowsDeleted(0, lastIndex);
        }
    }

}