public SyntaxTreeVisualisator_VisualPascalABCPlugin(IWorkbench Workbench) { VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; SemanticTreeVisualisatorForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler; }
public PluginsController(IVisualEnvironmentCompiler VisualEnvironmentCompiler,System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem, System.Windows.Forms.ToolStrip ToolStrip, IWorkbench workbench) { this.ToolStripMenuItem = ToolStripMenuItem; this.ToolStrip = ToolStrip; this.VisualEnvironmentCompiler = VisualEnvironmentCompiler; this.workbench = workbench; }
public PluginsController(IVisualEnvironmentCompiler VisualEnvironmentCompiler, System.Windows.Forms.ToolStripMenuItem ToolStripMenuItem, System.Windows.Forms.ToolStrip ToolStrip, IWorkbench workbench) { this.ToolStripMenuItem = ToolStripMenuItem; this.ToolStrip = ToolStrip; this.VisualEnvironmentCompiler = VisualEnvironmentCompiler; this.workbench = workbench; }
/*private void CheckAndCopyPT4Files(string FileName) * { * * string fn=PABCWorkDirectory+"\\"+FileName; * string instfn=PT4Directory+"\\"+FileName; * try * { * if (!File.Exists(fn)) * if (File.Exists(instfn)) * File.Copy(instfn, fn); * } * catch (Exception) * { * } * * }*/ public PT4Provider_VisualPascalABCPlugin(IWorkbench Workbench) { VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; VisualEnvironmentCompiler.ChangeVisualEnvironmentState += new ChangeVisualEnvironmentStateDelegate(VisualEnvironmentCompiler_ChangeVisualEnvironmentState); VisualEnvironmentCompiler.Compiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; PABCWorkDirectory = VisualEnvironmentCompiler.ExecuteAction(VisualEnvironmentCompilerAction.GetDirectory, "%WORKINGDIRECTORY%") as string; /*if (PABCWorkDirectory == null) * PABCWorkDirectory = ""; * else * if (Directory.Exists(PABCWorkDirectory)) * { * CheckAndCopyPT4Files(PT4Provider.Constants.ResultsABCFileName); * //CheckAndCopyPT4Files(PT4Provider.Constants.ResultsDATFileName); * } */ /*string PABCOutputDirectory = VisualEnvironmentCompiler.ExecuteAction(VisualEnvironmentCompilerAction.GetDirectory, "%OUTPUTDIRECTORY%") as string; * if (PABCOutputDirectory != null) * if (Directory.Exists(PABCOutputDirectory)) * { * PABCWorkDirectory = PABCOutputDirectory; * CheckAndCopyPT4Files(PT4Provider.Constants.ResultsABCFileName); * //CheckAndCopyPT4Files(PT4Provider.Constants.ResultsDATFileName); * } */ }
public AspectTree_VisualPascalABCPlugin(IVisualEnvironmentCompiler VisualEnvironmentCompiler) { this.VisualEnvironmentCompiler = VisualEnvironmentCompiler; AspectTreeForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler; }
public InternalErrorReport_VisualPascalABCPlugin(IWorkbench Workbench) { this.VisualEnvironmentCompiler=Workbench.VisualEnvironmentCompiler; VisualEnvironmentCompiler.StandartCompiler.OnChangeCompilerState += new PascalABCCompiler.ChangeCompilerStateEventDelegate(Compiler_OnChangeCompilerState); if(VisualEnvironmentCompiler.RemoteCompiler!=null) VisualEnvironmentCompiler.RemoteCompiler.OnChangeCompilerState += new PascalABCCompiler.ChangeCompilerStateEventDelegate(Compiler_OnChangeCompilerState); //CompilerInternalErrorReport.Parent=(VisualEnvironmentCompiler as System.Windows.Forms.Control); }
public TestPlugin_VisualPascalABCPlugin(IWorkbench Workbench) { this.Workbench = Workbench; VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; testForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler; }
public InternalErrorReport_VisualPascalABCPlugin(IWorkbench Workbench) { this.VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; VisualEnvironmentCompiler.StandartCompiler.OnChangeCompilerState += new PascalABCCompiler.ChangeCompilerStateEventDelegate(Compiler_OnChangeCompilerState); if (VisualEnvironmentCompiler.RemoteCompiler != null) { VisualEnvironmentCompiler.RemoteCompiler.OnChangeCompilerState += new PascalABCCompiler.ChangeCompilerStateEventDelegate(Compiler_OnChangeCompilerState); } //CompilerInternalErrorReport.Parent=(VisualEnvironmentCompiler as System.Windows.Forms.Control); }
public LanguageConverter_VisualPascalABCPlugin(IWorkbench Workbench) { Languages = LoadLanguages(); currentLanguage = Languages[0]; this.VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; //TextFormatter = new TextFormatter(); TextFormatterForm = new TextFormatterForm(); TextFormatterForm.Plugin = this; TextFormatterForm.Init(); VisualEnvironmentCompiler.StandartCompiler.OnChangeCompilerState += new PascalABCCompiler.ChangeCompilerStateEventDelegate(Compiler_OnChangeCompilerState); }
public CompilerController_VisualPascalABCPlugin(IWorkbench Workbench) { IVisualEnvironmentCompiler VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; this.VisualEnvironmentCompiler=VisualEnvironmentCompiler; CompilerInformation.VisualEnvironmentCompiler = VisualEnvironmentCompiler; CompilerInformation.LoadOptions(CompilerInformation.OptionsFileName); VisualEnvironmentCompiler.StandartCompiler.InternalDebug.UseStandarParserForIntellisense = CompilerInformation.cbUseStandarParserForInellisense.Checked; VisualEnvironmentCompiler.StandartCompiler.InternalDebug.RunOnMono = CompilerInformation.cbRunMono.Checked; VisualEnvironmentCompiler.RemoteCompiler.InternalDebug.RunOnMono = CompilerInformation.cbRunMono.Checked; VisualEnvironmentCompiler.StandartCompiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; if (VisualEnvironmentCompiler.RemoteCompiler != null) VisualEnvironmentCompiler.RemoteCompiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; }
public CompilerController_VisualPascalABCPlugin(IWorkbench Workbench) { IVisualEnvironmentCompiler VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; this.VisualEnvironmentCompiler = VisualEnvironmentCompiler; CompilerInformation.VisualEnvironmentCompiler = VisualEnvironmentCompiler; CompilerInformation.LoadOptions(CompilerInformation.OptionsFileName); VisualEnvironmentCompiler.StandartCompiler.InternalDebug.UseStandarParserForIntellisense = CompilerInformation.cbUseStandarParserForInellisense.Checked; VisualEnvironmentCompiler.StandartCompiler.InternalDebug.RunOnMono = CompilerInformation.cbRunMono.Checked; VisualEnvironmentCompiler.RemoteCompiler.InternalDebug.RunOnMono = CompilerInformation.cbRunMono.Checked; VisualEnvironmentCompiler.StandartCompiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; if (VisualEnvironmentCompiler.RemoteCompiler != null) { VisualEnvironmentCompiler.RemoteCompiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; } }
public HelpBuilder_VisualPascalABCPlugin(IWorkbench Workbench) { this.VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; HelpBuilderForm.VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; HelpBuilderForm.CreateBuilder(); }
public ExpressionEvaluator(Debugger.Process debuggedProcess, IVisualEnvironmentCompiler vec, string FileName) { this.debuggedProcess = debuggedProcess; this.vec = vec; this.FileName = FileName; }
public PABCInterop(IWorkbench Workbench) { _wb = Workbench; _compiler = _wb.VisualEnvironmentCompiler; }
public PluginsController(IVisualEnvironmentCompiler VisualEnvironmentCompiler) { this.VisualEnvironmentCompiler = VisualEnvironmentCompiler; }
public AssemblyHelpBuilder(IVisualEnvironmentCompiler vec) { this.vec = vec; //parser = new FileParser(vec); //HelpUtils.builder = this; }
public FileParser(IVisualEnvironmentCompiler vec) { this.VisualEnvironmentCompiler = vec; }
/*private void CheckAndCopyPT4Files(string FileName) { string fn=PABCWorkDirectory+"\\"+FileName; string instfn=PT4Directory+"\\"+FileName; try { if (!File.Exists(fn)) if (File.Exists(instfn)) File.Copy(instfn, fn); } catch (Exception) { } }*/ public PT4Provider_VisualPascalABCPlugin(IWorkbench Workbench) { VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler; VisualEnvironmentCompiler.ChangeVisualEnvironmentState += new ChangeVisualEnvironmentStateDelegate(VisualEnvironmentCompiler_ChangeVisualEnvironmentState); VisualEnvironmentCompiler.Compiler.OnChangeCompilerState += Compiler_OnChangeCompilerState; PABCWorkDirectory = VisualEnvironmentCompiler.ExecuteAction(VisualEnvironmentCompilerAction.GetDirectory, "%WORKINGDIRECTORY%") as string; /*if (PABCWorkDirectory == null) PABCWorkDirectory = ""; else if (Directory.Exists(PABCWorkDirectory)) { CheckAndCopyPT4Files(PT4Provider.Constants.ResultsABCFileName); //CheckAndCopyPT4Files(PT4Provider.Constants.ResultsDATFileName); } */ /*string PABCOutputDirectory = VisualEnvironmentCompiler.ExecuteAction(VisualEnvironmentCompilerAction.GetDirectory, "%OUTPUTDIRECTORY%") as string; if (PABCOutputDirectory != null) if (Directory.Exists(PABCOutputDirectory)) { PABCWorkDirectory = PABCOutputDirectory; CheckAndCopyPT4Files(PT4Provider.Constants.ResultsABCFileName); //CheckAndCopyPT4Files(PT4Provider.Constants.ResultsDATFileName); } */ }