Class NavigatorTreeUtils


  • public class NavigatorTreeUtils
    extends Object
    Util class to store the invariant part of the navigator tree.
    • Field Detail

      • PARENT_TO_CHILDREN_CLASSES_MAP

        public static final Map<Class<?>,​Class<?>> PARENT_TO_CHILDREN_CLASSES_MAP
        The map from ***NavigatorAdapter.Folder's to theirs children classes.
    • Method Detail

      • getParent

        public static Class<?> getParent​(Class<?> node)
        Gets the parent for the given node in the navigator tree.
        Parameters:
        node - the given node from the navigator tree, can not be null
        Returns:
        the parent for the given node, can be null