示例#1
0
        /// <summary>
        /// Raises the ExitingMainMessageLoop event.
        /// </summary>
        /// <param name="e"></param>
        internal void OnExitingMainMessageLoop(PluginContextEventArgs e)
        {
            _isInMessageLoop = false;

            Log.WriteLine("Exiting PluginContext Message Loop.");
            EventManager.Raise <PluginContextEventArgs>(this.ExitingMessageLoop, this, e);
        }
示例#2
0
        /// <summary>
        /// Raises the EnteringMainMessageLoop event.
        /// </summary>
        /// <param name="e"></param>
        internal void OnEnteringMainMessageLoop(PluginContextEventArgs e)
        {
            Log.WriteLine("Entering PluginContext Message Loop.");
            EventManager.Raise <PluginContextEventArgs>(this.EnteringMessageLoop, this, e);

            _isInMessageLoop = true;
            _progressViewer  = null;
        }
		/// <summary>
		/// Raises the ExitingMainMessageLoop event.
		/// </summary>
		/// <param name="e"></param>
		internal void OnExitingMainMessageLoop(PluginContextEventArgs e)
		{
			_isInMessageLoop = false;

			Log.WriteLine("Exiting PluginContext Message Loop.");
			EventManager.Raise<PluginContextEventArgs>(this.ExitingMessageLoop, this, e);	
		}
		/// <summary>
		/// Raises the EnteringMainMessageLoop event.
		/// </summary>
		/// <param name="e"></param>
		internal void OnEnteringMainMessageLoop(PluginContextEventArgs e)
		{
			Log.WriteLine("Entering PluginContext Message Loop.");
			EventManager.Raise<PluginContextEventArgs>(this.EnteringMessageLoop, this, e);

			_isInMessageLoop = true;							
			_progressViewer = null;			
		}
		/// <summary>
		/// Raises the RestartPending event.
		/// </summary>
		/// <param name="e"></param>
		internal void OnRestartPending(PluginContextEventArgs e)
		{
			EventManager.Raise<PluginContextEventArgs>(this.RestartPending, this, e);			
		}
		/// <summary>
		/// Raises the BeforePluginsStopped event.
		/// </summary>
		/// <param name="e"></param>
		internal void OnBeforePluginsStopped(PluginContextEventArgs e)
		{
			EventManager.Raise<PluginContextEventArgs>(this.BeforePluginsStopped, this, e);			
		}
		/// <summary>
		/// Raises the AfterPluginsStarted event.
		/// </summary>
		/// <param name="e"></param>
		internal void OnAfterPluginsStarted(PluginContextEventArgs e)
		{
			ProgressViewer.SetExtendedDescription(_progressViewer, "Plugins started. Application opening...");	

			EventManager.Raise<PluginContextEventArgs>(this.AfterPluginsStarted, this, e);
		}
示例#8
0
 /// <summary>
 /// Raises the RestartPending event.
 /// </summary>
 /// <param name="e"></param>
 internal void OnRestartPending(PluginContextEventArgs e)
 {
     EventManager.Raise <PluginContextEventArgs>(this.RestartPending, this, e);
 }
示例#9
0
 /// <summary>
 /// Raises the BeforePluginsStopped event.
 /// </summary>
 /// <param name="e"></param>
 internal void OnBeforePluginsStopped(PluginContextEventArgs e)
 {
     EventManager.Raise <PluginContextEventArgs>(this.BeforePluginsStopped, this, e);
 }
示例#10
0
        /// <summary>
        /// Raises the AfterPluginsStarted event.
        /// </summary>
        /// <param name="e"></param>
        internal void OnAfterPluginsStarted(PluginContextEventArgs e)
        {
            ProgressViewer.SetExtendedDescription(_progressViewer, "Plugins started. Application opening...");

            EventManager.Raise <PluginContextEventArgs>(this.AfterPluginsStarted, this, e);
        }