public AllGraphsController(LibraryTabElement libraryTab)
            {
                m_searchField = libraryTab.Q <ToolbarSearchField>(SEARCH_FIELD);
                m_searchField.RegisterValueChangedCallback(x => { OnSearchQueryChanged(x.newValue); });
                m_allGraphsGroup = libraryTab.Q <VisualElement>(ALL_GRAPHS_GROUP);
                m_libraryTab     = libraryTab;

                PopulateGroups();
            }
 public FavoritesController(LibraryTabElement libraryTab)
 {
     m_libraryTab     = libraryTab;
     m_favoritesGroup = m_libraryTab.Q <GraphGroupFoldout>(FAVORITES_FOLDOUT);
     m_favoritesGroup.Setup("Favorites", GraphGroupFoldout.SortRule.TYPE_AND_NAME, m_libraryTab.OnObjectFieldDoubleClick);
     m_favoritesGroup.AddDisplayFieldManipulator(m_libraryTab.GetRemoveFromFavManip);
 }
 public RecentsController(LibraryTabElement libraryTab)
 {
     m_libraryTab   = libraryTab;
     m_recentsGroup = libraryTab.Q <GraphGroupFoldout>(RECENTS_FOLDOUT);
     m_recentsGroup.Setup("Recent", GraphGroupFoldout.SortRule.NONE, m_libraryTab.OnObjectFieldDoubleClick);
     m_recentsGroup.AddDisplayFieldManipulator(m_libraryTab.GetAddToFavManip);
 }