public void UpdateBusyState (BusyStateEventArgs args)
		{
			if (!args.IsBusy) {
				if (Dialog != null) {
					Dialog.Destroy ();
					Dialog.Dispose ();
					Dialog = null;
				}
			} else {
				if (Dialog == null)
					Dialog = new BusyEvaluatorDialog ();
				
				Dialog.Show ();
			}
		}
Example #2
0
 static DebuggingService()
 {
     executionHandlerFactory           = new DebugExecutionHandlerFactory();
     TextFileService.LineCountChanged += OnLineCountChanged;
     IdeApp.Initialized += delegate {
         IdeApp.Workspace.StoringUserPreferences  += OnStoreUserPrefs;
         IdeApp.Workspace.LoadingUserPreferences  += OnLoadUserPrefs;
         IdeApp.Workspace.LastWorkspaceItemClosed += OnSolutionClosed;
         busyDialog = new BusyEvaluatorDialog();
     };
     AddinManager.AddExtensionNodeHandler(FactoriesPath, delegate {
         // Regresh the engine list
         engines = null;
     });
     AddinManager.AddExtensionNodeHandler(EvaluatorsPath, delegate {
         // Regresh the engine list
         evaluators = null;
     });
 }
Example #3
0
 static DebuggingService()
 {
     executionHandlerFactory             = new DebugExecutionHandlerFactory();
     TextEditorService.LineCountChanged += OnLineCountChanged;
     IdeApp.Initialized += delegate {
         IdeApp.Workspace.StoringUserPreferences  += OnStoreUserPrefs;
         IdeApp.Workspace.LoadingUserPreferences  += OnLoadUserPrefs;
         IdeApp.Workspace.LastWorkspaceItemClosed += OnSolutionClosed;
         busyDialog = new BusyEvaluatorDialog();
         busyDialog.TransientFor      = MessageService.RootWindow;
         busyDialog.DestroyWithParent = true;
     };
     AddinManager.AddExtensionNodeHandler(FactoriesPath, delegate {
         // Refresh the engines list
         engines = null;
     });
     AddinManager.AddExtensionNodeHandler(EvaluatorsPath, delegate {
         // Refresh the evaluators list
         evaluators = null;
     });
 }
        public void UpdateBusyState(BusyStateEventArgs args)
        {
            if (!args.IsBusy)
            {
                if (Dialog != null)
                {
                    Dialog.Destroy();
                    Dialog.Dispose();
                    Dialog = null;
                }
            }
            else
            {
                if (Dialog == null)
                {
                    Dialog = new BusyEvaluatorDialog();
                }

                Dialog.Show();
            }
        }
Example #5
0
		static DebuggingService()
		{
			executionHandlerFactory = new DebugExecutionHandlerFactory ();
			TextFileService.LineCountChanged += OnLineCountChanged;
			IdeApp.Initialized += delegate {
				IdeApp.Workspace.StoringUserPreferences += OnStoreUserPrefs;
				IdeApp.Workspace.LoadingUserPreferences += OnLoadUserPrefs;
				IdeApp.Workspace.LastWorkspaceItemClosed += OnSolutionClosed;
				busyDialog = new BusyEvaluatorDialog ();
			};
			AddinManager.AddExtensionNodeHandler (FactoriesPath, delegate {
				// Regresh the engine list
				engines = null;
			});
			AddinManager.AddExtensionNodeHandler (EvaluatorsPath, delegate {
				// Regresh the engine list
				evaluators = null;
			});
        }
Example #6
0
		static DebuggingService ()
		{
			executionHandlerFactory = new DebugExecutionHandlerFactory ();
			TextEditorService.LineCountChanged += OnLineCountChanged;
			IdeApp.Initialized += delegate {
				IdeApp.Workspace.StoringUserPreferences += OnStoreUserPrefs;
				IdeApp.Workspace.LoadingUserPreferences += OnLoadUserPrefs;
				IdeApp.Workspace.LastWorkspaceItemClosed += OnSolutionClosed;
				busyDialog = new BusyEvaluatorDialog ();
				busyDialog.TransientFor = MessageService.RootWindow;
				busyDialog.DestroyWithParent = true;
			};
			AddinManager.AddExtensionNodeHandler (FactoriesPath, delegate {
				// Refresh the engines list
				engines = null;
			});
			AddinManager.AddExtensionNodeHandler (EvaluatorsPath, delegate {
				// Refresh the evaluators list
				evaluators = null;
			});
        }