public Widget GetWidget(MethodDefinition method) { Digraph digraph = GetIlSourceAsDot(method); Image image = new Image(DotHelper.BuildDotImage(digraph)); ScrolledWindow sw = new ScrolledWindow(); sw.AddWithViewport(image); sw.ShowAll(); return(sw); }
public Widget GetWidget(MethodDefinition method) { BackwardAnalysis(">", null, method); Digraph digraph = BuildDotFile(method); Image image = new Image(DotHelper.BuildDotImage(digraph)); ScrolledWindow sw = new ScrolledWindow(); sw.AddWithViewport(image); sw.ShowAll(); Clear(); return(sw); }
public Widget GetWidget(AssemblyDefinition assembly) { this.assembly = assembly; Digraph digraph = GetDotData(assembly); image = new Image(DotHelper.BuildDotImage(digraph)); AddinScrolledWindow sw = new AddinScrolledWindow(); sw.AddWithViewport(image); sw.ShowAll(); sw.OnRefresh += delegate { Refresh(); }; return(sw); }
public void Refresh() { Digraph digraph = GetDotData(assembly); image.FromFile = DotHelper.BuildDotImage(digraph); }