public interface ListProvider<T>
BrowserModel.getSelectedItems() must be invoked somewhere to pass its result to the inspector
renderer. Since this can be a performance killer when CTRL+A was pressed and thousands of items are selected and it
may not be useful to show all this items in the inspector but e.g. only the number of selected items,
ListProvider is used as anonymous inner class to pass the list information.| Modifier and Type | Interface and Description |
|---|---|
static class |
ListProvider.ListInfo
Additional information about the contained list.
|
| Modifier and Type | Method and Description |
|---|---|
T |
getFirst()
Gets the first element of the provided list.
|
java.util.List<T> |
getList()
Gets the list.
|
ListProvider.ListInfo |
getListInfo()
Gets the
ListProvider.ListInfo for the provided list. |
int |
getListSize()
Gets the size of the provided list or -1, if unknown.
|
java.util.List<T> getList()
T getFirst()
ListProvider.ListInfo getListInfo()
ListProvider.ListInfo for the provided list.ListProvider.ListInfo instance or null, if undefined.int getListSize()
Copyright © 2018 SAP SE. All Rights Reserved.