コード例 #1
0
        internal virtual void BeginCreateSavedFilter(SearchFilter filter)
        {
            string displayName = "New Saved Search";

            this.m_IsCreatingSavedFilter = true;
            int id = SavedSearchFilters.AddSavedFilter(displayName, filter, GetListAreaGridSize());

            base.m_TreeView.Frame(id, true, false);
            base.m_TreeView.state.renameOverlay.BeginRename(displayName, id, 0f);
        }
コード例 #2
0
        internal virtual void BeginCreateSavedFilter(SearchFilter filter)
        {
            string text = "New Saved Search";

            this.m_IsCreatingSavedFilter = true;
            int num = SavedSearchFilters.AddSavedFilter(text, filter, ProjectBrowserColumnOneTreeViewGUI.GetListAreaGridSize());

            this.m_TreeView.Frame(num, true, false);
            this.m_TreeView.state.renameOverlay.BeginRename(text, num, 0f);
        }
コード例 #3
0
        virtual internal void BeginCreateSavedFilter(SearchFilter filter)
        {
            string savedFilterName = "New Saved Search";

            m_IsCreatingSavedFilter = true;
            int instanceID = SavedSearchFilters.AddSavedFilter(savedFilterName, filter, GetListAreaGridSize());

            m_TreeView.Frame(instanceID, true, false);

            // Start naming the asset
            m_TreeView.state.renameOverlay.BeginRename(savedFilterName, instanceID, 0f);
        }