void MonoDevelop.DesignerSupport.IOutlinedDocument.ReleaseOutlineWidget() { if (outlineTreeView == null) { return; } var w = (ScrolledWindow)outlineTreeView.Parent; w.Destroy(); outlineTreeModelSort.Dispose(); outlineTreeModelSort = null; outlineTreeStore.Dispose(); outlineTreeStore = null; outlineTreeView = null; settings = null; foreach (var tw in toolbarWidgets) { w.Destroy(); } toolbarWidgets = null; comparer = null; }
protected override void OnDestroyed() { base.OnDestroyed(); disposed = true; if (colCommit != null) { colCommit.Destroy(); colCommit = null; } if (filestore != null) { filestore.Dispose(); filestore = null; } if (this.diffRenderer != null) { this.diffRenderer.Destroy(); this.diffRenderer = null; } }
protected override void OnDestroyed() { btnSaveAndQuit.Clicked -= SaveAndQuit; btnQuit.Clicked -= Quit; btnCancel.Clicked -= Cancel; if (togRender != null) { togRender.Toggled -= toggled; togRender.Destroy(); togRender = null; } if (textRender != null) { textRender.Destroy(); textRender = null; } if (tsFiles != null) { tsFiles.Dispose(); tsFiles = null; } base.OnDestroyed(); }
void IOutlinedDocument.ReleaseOutlineWidget() { if (TreeView == null) { return; } var w = (ScrolledWindow)TreeView.Parent; w.Destroy(); TreeStore.Dispose(); TreeStore = null; TreeView = null; //settings = null; if (toolbarWidgets != null) { foreach (var tw in toolbarWidgets) { w.Destroy(); } } toolbarWidgets = null; //comparer = null; }
protected override void OnDestroyed() { keyStore.Dispose(); filterModel.Dispose(); base.OnDestroyed(); }