void BreakpointListView::TableSelectionChanged(Table* table) { if (fListener == NULL) return; TableSelectionModel* selectionModel = table->SelectionModel(); BreakpointProxyList proxyList; for (int32 i = 0; i < selectionModel->CountRows(); i++) { BreakpointProxy* proxy = fBreakpointsTableModel->BreakpointProxyAt( selectionModel->RowAt(i)); if (proxy == NULL) continue; if (!proxyList.AddItem(proxy)) return; } fListener->BreakpointSelectionChanged(proxyList); }