Example #1
0
        void RefreshCurrentView()
        {
            if (_unpackedCrawl == null)
            {
                return;
            }

            switch (m_selectedView)
            {
            case eShowType.InTable:
                if (_tableBrowser != null)
                {
                    _tableBrowser.RefreshData(_unpackedCrawl, _preUnpackedCrawl);
                }
                break;

            case eShowType.InTreemap:
                if (_treeMapView != null)
                {
                    _treeMapView.Setup(this, _unpackedCrawl);
                }
                break;

            default:
                break;
            }
        }
        public void RefreshCurrentView()
        {
            if (_unpackedCrawl == null)
            {
                return;
            }

            switch (m_selectedView)
            {
            case eShowType.InTable:
                if (_tableBrowser != null)
                {
                    if (_tableBrowser._showdiffToggle && _SnapshotChunks.Count >= 2)
                    {
                        _tableBrowser.RefreshDiffData(_unpackedCrawl, _preUnpackedCrawl);
                    }
                    else
                    {
                        _tableBrowser.RefreshData(_unpackedCrawl);
                    }
                }
                break;

            case eShowType.InTreemap:
                if (_treeMapView != null)
                {
                    _treeMapView.Setup(this, _unpackedCrawl);
                }
                break;

            default:
                break;
            }
        }