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;
 }
Example #3
0
 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;
 }
Example #4
0
        /*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);
 }
Example #7
0
        public TestPlugin_VisualPascalABCPlugin(IWorkbench Workbench)
        {
            this.Workbench = Workbench;
            VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler;
            testForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
            

        }
Example #8
0
 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 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;
 }
Example #12
0
        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();
 }
Example #14
0
 public TestPlugin_VisualPascalABCPlugin(IWorkbench Workbench)
 {
     this.Workbench                     = Workbench;
     VisualEnvironmentCompiler          = Workbench.VisualEnvironmentCompiler;
     testForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
 }
 public ExpressionEvaluator(Debugger.Process debuggedProcess, IVisualEnvironmentCompiler vec, string FileName)
 {
     this.debuggedProcess = debuggedProcess;
     this.vec = vec;
     this.FileName = FileName;
 }
Example #16
0
 public PABCInterop(IWorkbench Workbench)
 {
     _wb = Workbench;
     _compiler = _wb.VisualEnvironmentCompiler;
 }
Example #17
0
 public PluginsController(IVisualEnvironmentCompiler VisualEnvironmentCompiler)
 {
     this.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
 }
 public PluginsController(IVisualEnvironmentCompiler VisualEnvironmentCompiler)
 {
     this.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
 }
Example #19
0
 public HelpBuilder_VisualPascalABCPlugin(IWorkbench Workbench)
 {
     this.VisualEnvironmentCompiler            = Workbench.VisualEnvironmentCompiler;
     HelpBuilderForm.VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler;
     HelpBuilderForm.CreateBuilder();
 }
Example #20
0
 public PABCInterop(IWorkbench Workbench)
 {
     _wb       = Workbench;
     _compiler = _wb.VisualEnvironmentCompiler;
 }
		public AssemblyHelpBuilder(IVisualEnvironmentCompiler vec)
		{
			this.vec = vec;
			//parser = new FileParser(vec);
			//HelpUtils.builder = this;
		}
Example #22
0
 public AspectTree_VisualPascalABCPlugin(IVisualEnvironmentCompiler VisualEnvironmentCompiler)
 {
     this.VisualEnvironmentCompiler           = VisualEnvironmentCompiler;
     AspectTreeForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
 }
 public SyntaxTreeVisualisator_VisualPascalABCPlugin(IWorkbench Workbench)
 {
     VisualEnvironmentCompiler = Workbench.VisualEnvironmentCompiler;
     SemanticTreeVisualisatorForm.VisualEnvironmentCompiler = VisualEnvironmentCompiler;
 }
Example #24
0
 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);
                }
            */
        }