Interface ITmfTreeViewerEntry

All Known Implementing Classes:
TmfGenericTreeEntry, TmfTreeViewerEntry

public interface ITmfTreeViewerEntry
Interface for an entry (row) in a TMF tree viewer
Author:
Geneviève Bastien
  • Method Details

    • getParent

      ITmfTreeViewerEntry getParent()
      Returns the parent of this entry, or null if it has none.
      Returns:
      the parent element, or null if it has none
    • hasChildren

      boolean hasChildren()
      Returns whether this entry has children.
      Returns:
      true if the given element has children, and false if it has no children
    • getChildren

      @NonNull List<@NonNull ? extends ITmfTreeViewerEntry> getChildren()
      Returns the child elements of this entry.
      Returns:
      an array of child elements
    • getName

      String getName()
      Returns the name of this entry.
      Returns:
      the entry name