public void AddInsightDataProvider(IInsightDataProvider provider, string fileName) { provider.SetupDataProvider(fileName, control.ActiveTextAreaControl.TextArea); if (provider.InsightDataCount > 0) { insightDataProviderStack.Push(new InsightDataProviderStackElement(provider)); } }
public void AddInsightDataProvider(IInsightDataProvider provider, string fileName) { provider.SetupDataProvider(fileName, control.ActiveViewControl); if (provider.InsightDataCount > 0) { insightDataProviderStack.Push(new InsightDataProviderStackElement(provider)); } }
public void AddInsightDataProvider(IInsightDataProvider provider) { provider.SetupDataProvider(fileName, control.ActiveTextAreaControl.TextArea); if (provider.InsightDataCount > 0) { insightDataProviderStack.Push(new InsightDataProviderStackElement(provider)); } }
public void AddInsightDataProvider(IInsightDataProvider provider, string fileName) { provider.SetupDataProvider(fileName, this.control.ActiveTextAreaControl.TextArea); if (provider.InsightDataCount > 0) { this.insightDataProviderStack.Push(new ICSharpCode.TextEditor.Gui.InsightWindow.InsightWindow.InsightDataProviderStackElement(provider)); } }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (_insightWindow == null || _insightWindow.IsDisposed) { _insightWindow = new InsightWindow(ParentForm, this); _insightWindow.Closed += CloseInsightWindow; } _insightWindow.AddInsightDataProvider(insightDataProvider, FileName); _insightWindow.ShowInsightWindow(); }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (insightWindow == null || insightWindow.IsDisposed) { insightWindow = new InsightWindow(WorkbenchSingleton.MainForm, this); insightWindow.Closed += new EventHandler(CloseInsightWindow); } insightWindow.AddInsightDataProvider(insightDataProvider, this.FileName); insightWindow.ShowInsightWindow(); }
/// <summary> /// Shows the insight window. /// </summary> /// <param name="insightDataProvider">The insight data provider.</param> public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (_insightWindow == null || _insightWindow.IsDisposed) { _insightWindow = new InsightWindow(ParentForm, this); _insightWindow.Closed += OnInsightWindowClosed; } _insightWindow.AddInsightDataProvider(insightDataProvider, FileName); _insightWindow.ShowInsightWindow(); }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (insightWindow == null || insightWindow.IsDisposed) { insightWindow = new InsightWindow(OwnerForm, this); insightWindow.Closed += new EventHandler(CloseInsightWindow); } insightWindow.AddInsightDataProvider(insightDataProvider, FileName); insightWindow.ShowInsightWindow(); }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (insightWindow == null || insightWindow.IsDisposed) { #if ModifiedForAltaxo insightWindow = new InsightWindow(Form.ActiveForm, this); #else insightWindow = new InsightWindow(((Form)WorkbenchSingleton.Workbench), this); #endif insightWindow.Closed += new EventHandler(CloseInsightWindow); } insightWindow.AddInsightDataProvider(insightDataProvider, this.FileName); insightWindow.ShowInsightWindow(); }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { try { if (FInsightWindow == null || FInsightWindow.IsDisposed) { FInsightWindow = new InsightWindow(FParentForm, this); FInsightWindow.Closed += new EventHandler(CloseInsightWindow); } FInsightWindow.AddInsightDataProvider(insightDataProvider, TextDocument.LocalPath); FInsightWindow.ShowInsightWindow(); } catch (Exception e) { Logger.Log(e); } }
public InsightDataProviderStackElement(IInsightDataProvider dataProvider) { this.currentData = Math.Max(dataProvider.DefaultIndex, 0); this.dataProvider = dataProvider; }
public InsightDataProviderStackElement(IInsightDataProvider dataProvider) { DataProvider = dataProvider; CurrentData = Math.Max(dataProvider.DefaultIndex, 0); }
public void AddInsightDataProvider(IInsightDataProvider provider) { provider.SetupDataProvider(project, fileName, control); if (provider.InsightDataCount > 0) { insightDataProviderStack.Push(new InsightDataProviderStackElement(provider)); } }
public InsightDataProviderStackElement(IInsightDataProvider dataProvider) { this.currentData = 0; this.dataProvider = dataProvider; }
public override void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (insightWindow == null || insightWindow.IsDisposed) { insightWindow = new IdeBridgeInsightWindow(WorkbenchSingleton.MainForm, this); insightWindow.Closed += new EventHandler(CloseInsightWindow); } insightWindow.AddInsightDataProvider(insightDataProvider, this.FileName); insightWindow.ShowInsightWindow(); }
public void ShowInsightWindow(IInsightDataProvider insightDataProvider) { if (AutoListVisible) { if (AutoList != null) { AutoList.Visible = false; } } if (insightWindow == null || insightWindow.IsDisposed) { insightWindow = new InsightWindow.InsightWindow(this._AutoList.Owner,this._CodeEditor) ; NativeUser32Api.SetWindowLong(this.insightWindow.Handle, NativeUser32Api.GWL_STYLE, (int)NativeUser32Api.WS_CHILD); insightWindow.Closed += new EventHandler(CloseInsightWindow); } insightWindow.AddInsightDataProvider(insightDataProvider, this.FileName); insightWindow.ShowInsightWindow(); insightWindow.SetLocation(); }