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 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
      • getParent

        T getParent​(T element)
        Parameters:
        element - the element
        Returns:
        the parent
      • hasChildren

        boolean hasChildren​(T element)
        Parameters:
        element - the element
        Returns:
        true if the element has children
      • dispose

        void dispose()
        Disposes the provider