Class NavigatorFilterInfo


  • public class NavigatorFilterInfo
    extends Object
    The helper class to store the pre-accounting information on the navigator filtration and answer whether the given MdObject or VirtualNavigatorAdapterBase makes it through the target filter.
    • Constructor Detail

      • NavigatorFilterInfo

        public NavigatorFilterInfo​(IEObjectTrie filteredObjectTrie,
                                   org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
        Creates a new instance of NavigatorFilterInfo.
        Parameters:
        filteredObjectTrie - the pre-accounting filtered object trie, can not be null
        qualifiedNameProvider - the qualified name provider, can not be null
    • Method Detail

      • select

        public boolean select​(Object parentElement,
                              Object element)
        Returns whether the given element makes it through the target filter.
        Parameters:
        parentElement - the parent element, can not be null
        element - the given MdObject or VirtualNavigatorAdapterBase, can not be null
        Returns:
        true whether the given element makes it through the target filter and false otherwise