Ignore:
Timestamp:
Aug 18, 2010, 7:53:37 AM (11 years ago)
Author:
matkovic
Message:

-LogInfo now pops up
-Added new icon for NotificationLevels
-Several style changes on LogPresentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/WorkspaceManager/Model/PluginModel.cs

    r1809 r1831  
    3333{
    3434    /// <summary>
     35    /// Log updated event
     36    /// </summary>
     37    public class LogUpdated : EventArgs
     38    {}
     39
     40    /// <summary>
    3541    /// Class to represent and wrap a IPlugin in our model graph
    3642    /// </summary>
     
    5359
    5460        #region public members
     61
     62        public event EventHandler<LogUpdated> LogUpdated;
    5563
    5664        /// <summary>
     
    363371        /// GuiLogNotificationOccured
    364372        /// saves the plugins log events and tells the gui that it needs
    365         /// an update
     373        /// an update. If the Workspace is not executing and eve
    366374        /// </summary>
    367375        /// <param name="sender"></param>
     
    373381                this.GuiLogEvents.Add(args);
    374382                this.GuiNeedsUpdate = true;
     383            }
     384
     385            if (this.LogUpdated != null)
     386            {
     387                if(!this.WorkspaceModel.WorkspaceManagerEditor.isExecuting())
     388                    this.LogUpdated.Invoke(this, new LogUpdated {});
    375389            }
    376390        }
Note: See TracChangeset for help on using the changeset viewer.