ExtendedPagedTable extends PagedTable<T> { public void selectAllItems() { for (int i = 0; i < getVisibleItemCount(); i++) { final T item = getVisibleItem(i); if (selectedItems.contains(item) == false) { updateSelectedColumnRow(i, item, true); } } } ExtendedPagedTable(final GridGlobalPreferences gridPreferences); void setTooltip(int row,
                           int column,
                           String description); int getKeyboardSelectedColumn(); int getKeyboardSelectedRow(); int getColumnCount(); void removeColumn(Column<T, ?> col); void removeColumnMeta(ColumnMeta<T> columnMeta); Collection<ColumnMeta<T>> getColumnMetaList(); void addSelectionIgnoreColumn(Column<T, ?> column); boolean removeSelectionIgnoreColumn(Column<T, ?> column); boolean isSelectionIgnoreColumn(int colIx); List<T> getSelectedItems(); boolean isItemSelected(T item); boolean hasSelectedItems(); void deselectAllItems(); void selectAllItems(); void updateSelectedColumnRow(final Integer row,
                                        final T object,
                                        final Boolean value); boolean isAllItemsSelected(); void setSelectionCallback(final Consumer<T> selectionCallback); void setItemSelection(final T item,
                                 final Boolean newValue);  }
@Test public void testSelectAllItems() { testSelectAll(0); }