Index: src/Common/DelftTools.Shell.Core/IApplication.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/DelftTools.Shell.Core/IApplication.cs (.../IApplication.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/DelftTools.Shell.Core/IApplication.cs (.../IApplication.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -15,7 +15,24 @@ /// public interface IApplication : IDisposable { + event Action ProjectOpening; + + event Action ProjectOpened; + + event Action ProjectClosing; + + event Action ProjectSaving; + + event Action ProjectSaved; + + event Action ProjectSaveFailed; + /// + /// Fired after application has been started. + /// + event Action AfterRun; + + /// /// Gets or sets collection of plugins. /// IList Plugins { get; } @@ -45,7 +62,7 @@ /// /// TODO: should be custom providing access to text string, icons from Application. /// - ResourceManager Resources { get; set;} + ResourceManager Resources { get; set; } IProjectService ProjectService { get; } @@ -104,7 +121,7 @@ /// /// void RunActivity(IActivity activity); - + /// /// Adds the activity to the CurrentActivities, runs it /// @@ -127,28 +144,11 @@ void CreateNewProject(); bool OpenProject(string path); - + void CloseProject(); void SaveProjectAs(string path); - - void SaveProject(); - event Action ProjectOpening; - - event Action ProjectOpened; - - event Action ProjectClosing; - - event Action ProjectSaving; - - event Action ProjectSaved; - - event Action ProjectSaveFailed; - - /// - /// Fired after application has been started. - /// - event Action AfterRun; + void SaveProject(); } } \ No newline at end of file