Or the dispose method should notify the TableModelListeners that all rows have been removed.
Paul Paul Austin wrote: > In the current implementation of InfoModel.remove() it disposes of the > LayerTableModel before it notifies the listener that it is going to be > removed. This means that the listeners don't have access to the features > that were being removed to do cleanup. The following line should be > moved to the end of the method. > > ((LayerTableModel) layerToTableModelMap.get(layer)).dispose(); > > What do people think? > > Paul > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel