Interface IAefTreeContentProvider<T extends ItemViewModel>
-
- Type Parameters:
T
- the provider items type.
- All Known Implementing Classes:
AefTreeContentProvider
public interface IAefTreeContentProvider<T extends ItemViewModel>
Tree content provider equivalent for AEF trees.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Disposes the providerT[]
getChildren(T parentElement)
T[]
getElements()
T
getParent(T element)
boolean
hasChildren(T element)
-
-
-
Method Detail
-
getElements
T[] getElements()
- Returns:
- the top level elements
-
getChildren
T[] getChildren(T parentElement)
- Parameters:
parentElement
- the parent element- Returns:
- the array of children of the parent element
-
hasChildren
boolean hasChildren(T element)
- Parameters:
element
- the element- Returns:
true
if the element has children
-
dispose
void dispose()
Disposes the provider
-
-