protected virtual void OnViewClosed(ViewContentEventArgs e) { if (ViewClosed != null) { ViewClosed(this, e); } }
private void ActiveViewClosed (object source, ViewContentEventArgs e) { if (e.Content is ReportDesignerView) { Console.WriteLine ("Designer closed"); ViewCount --; } }
void ViewOpened(object sender, ViewContentEventArgs e) { if (StandaloneTypeScriptFileOpened(e)) { CreateTypeScriptContext(e.Content); } }
static void ViewOpened(object sender, ViewContentEventArgs e) { if (CodeCoverageOptions.CodeCoverageHighlighted && CodeCoverageResultsExist) { ShowCodeCoverage(e.Content); } }
void WorkbenchViewClosed(object sender, ViewContentEventArgs e) { if (IsStandaloneNAntBuildFile(e.Content.PrimaryFileName)) { treeView.RemoveBuildFile(e.Content.PrimaryFileName); } }
void ActiveViewClosed(object source, ViewContentEventArgs e) { if (e.Content is ReportDesignerView) { Console.WriteLine("Designer closed"); ViewCount--; } }
static void ViewContentClosed(object sender, ViewContentEventArgs e) { if (e.Content is ITextEditorControlProvider) { TextArea textArea = ((ITextEditorControlProvider)e.Content).TextEditorControl.ActiveTextAreaControl.TextArea; textArea.IconBarMargin.MouseDown -= IconBarMouseDown; textArea.ToolTipRequest -= TextAreaToolTipRequest; textArea.MouseLeave -= TextAreaMouseLeave; } }
void ViewClosed(object sender, ViewContentEventArgs e) { FileName fileName = e.Content.PrimaryFileName; if (TypeScriptParser.IsTypeScriptFileName(fileName)) { if (TypeScriptFileInAnyProject(fileName)) { UpdateTypeScriptContextWithFileContentFromDisk(fileName); } else { provider.DisposeContext(fileName); } } }
bool StandaloneTypeScriptFileOpened(ViewContentEventArgs e) { return StandaloneTypeScriptFileOpened(e.Content.PrimaryFileName); }
void Workbench_ViewOpened(object sender, ViewContentEventArgs e) { WorkbenchSingleton.Workbench.ViewOpened -= Workbench_ViewOpened; //btnPrint_Click(null, null); }
void ActiveViewClosed(object source, ViewContentEventArgs e) { }
static void ViewContentOpened(object sender, ViewContentEventArgs e) { //Log(e.Content); e.Content.WorkbenchWindow.WindowSelected += WorkBenchWindowSelected; }
internal void OnViewClosed(ViewContentEventArgs e) { if (ViewClosed != null) { ViewClosed(this, e); } }
protected virtual void OnViewOpened(ViewContentEventArgs e) { if (ViewOpened != null) { ViewOpened(this, e); } }
private void ActiveViewClosed (object source, ViewContentEventArgs e) { }
static void ViewContentClosed(object sender, ViewContentEventArgs e) { e.Content.WorkbenchWindow.WindowSelected -= WorkBenchWindowSelected; }
bool StandaloneTypeScriptFileOpened(ViewContentEventArgs e) { return(StandaloneTypeScriptFileOpened(e.Content.PrimaryFileName)); }