void DoneReloadingTracebacks() { DeltaList.Invalidate(); DeltaHistogram.Invalidate(); GraphHistogram.Invalidate(); SetBusy(false); Enabled = true; }
protected IEnumerator <object> GenerateNewGraph(List <DeltaInfo> newListItems, GraphKeyType keyType) { var newGraph = new StackGraph(keyType); yield return(newGraph.Build(Instance, newListItems)); StackGraph = newGraph; GraphHistogram.Items = StackGraph.Functions.OrderedItems.ToArray(); GraphTreemap.Items = StackGraph.OrderedItems.ToArray(); GraphHistogram.Invalidate(); GraphTreemap.Refresh(); }
protected void SetGraphKeyType(GraphKeyType keyType) { if (keyType != StackGraphKeyType) { StackGraphKeyType = keyType; GraphHistogram.Items = GraphTreemap.Items = new StackGraphNode[0]; GraphHistogram.Invalidate(); GraphTreemap.Invalidate(); if (PendingRefresh != null) { PendingRefresh.Dispose(); } PendingRefresh = Start(RefreshGraph()); } }