LoadedClassChooser() { this.Build(); HeapSnapshotExplorer.PrepareTreeViewForStatisticsDisplay(ClassList); ClassList.NodeSelection.Changed += new EventHandler(OnSelectionChanged); currentSelection = null; }
public HeapExplorerTreeModel(SeekableLogFileReader reader, HeapSnapshotExplorer explorer) { model = new TreeStore(new Type [] { typeof(INode) }); heapEventProcessor = new HeapEventProcessor(); this.reader = reader; this.explorer = explorer; rootNodes = new List <IRootNode> (); }
public StatisticsNodeMenuHandlerForCallStacks(HeapSnapshotExplorer explorer) : base(explorer) { menu = new Menu(); MenuItem menuItem; menuItem = new MenuItem("Filter current set by this call stack"); menuItem.Activated += delegate(object sender, EventArgs e) { FilterCurrentSetByCurrentCallStack(); }; menu.Add(menuItem); menu.ShowAll(); }
public StatisticsNodeMenuHandlerForClasses(HeapSnapshotExplorer explorer) : base(explorer) { menu = new Menu(); MenuItem menuItem; menuItem = new MenuItem("Filter current set by this class"); menuItem.Activated += delegate(object sender, EventArgs e) { FilterCurrentSetByCurrentClass(); }; menu.Add(menuItem); menuItem = new MenuItem("Show statistics by caller method"); menuItem.Activated += delegate(object sender, EventArgs e) { explorer.FillStatisticsListWithMethodData(); }; menu.Add(menuItem); menu.ShowAll(); }
protected StatisticsNodeMenuHandler(HeapSnapshotExplorer explorer) { this.explorer = explorer; }
void FillList(IHeapItemSetStatisticsBySubject[] statistics) { HeapSnapshotExplorer.FillTreeViewWithStatistics(ClassList, statistics); currentSelection = null; }