only select all rows if table is multiselect

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
Melanie Retter
2016-06-14 19:10:21 +02:00
parent 2b33f3646b
commit e35ef0f7db

View File

@@ -157,9 +157,11 @@ public abstract class AbstractTable<E extends NamedEntity, I> extends Table {
* Select all rows in the table. * Select all rows in the table.
*/ */
protected void selectAll() { protected void selectAll() {
if (isMultiSelect()) {
// only contains the ItemIds of the visible items in the table // only contains the ItemIds of the visible items in the table
setValue(getItemIds()); setValue(getItemIds());
} }
}
private void setColumnProperties() { private void setColumnProperties() {
final List<TableColumn> columnList = getTableVisibleColumns(); final List<TableColumn> columnList = getTableVisibleColumns();