Index: src/Common/DelftTools.Shell.Gui/DelftTools.Shell.Gui.csproj
===================================================================
diff -u -rfa9b36343401d44cb6813d7871903782d0dedec9 -r514a21b29960c70b271d098cadc73ba23c8d4e63
--- src/Common/DelftTools.Shell.Gui/DelftTools.Shell.Gui.csproj (.../DelftTools.Shell.Gui.csproj) (revision fa9b36343401d44cb6813d7871903782d0dedec9)
+++ src/Common/DelftTools.Shell.Gui/DelftTools.Shell.Gui.csproj (.../DelftTools.Shell.Gui.csproj) (revision 514a21b29960c70b271d098cadc73ba23c8d4e63)
@@ -105,7 +105,6 @@
-
GuiPluginConfiguration.xsd
Index: src/Common/DelftTools.Shell.Gui/IGui.cs
===================================================================
diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r514a21b29960c70b271d098cadc73ba23c8d4e63
--- src/Common/DelftTools.Shell.Gui/IGui.cs (.../IGui.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a)
+++ src/Common/DelftTools.Shell.Gui/IGui.cs (.../IGui.cs) (revision 514a21b29960c70b271d098cadc73ba23c8d4e63)
@@ -15,7 +15,7 @@
///
/// Provides graphical user interface logic required to work with an application.
///
- public interface IGui : ISelectionContainer
+ public interface IGui
{
#region Public Properties
@@ -69,6 +69,20 @@
///
bool IsViewRemoveOnItemDeleteSuspended { get; set; }
+ ///
+ /// Gets or sets current selected object(s).
+ /// Visibility of the menus, toolbars and other controls should be updated when selected object is changed.
+ /// Default implementation will also show it in the PropertyGrid.
+ ///
+ object Selection { get; set; }
+
+ ///
+ /// Selected project item.
+ /// If non-IProjectItem is selected in project tree view then this item must be set from outside
+ /// (by a project tree view or any other IProjectItem navigation control).
+ ///
+ IProjectItem SelectedProjectItem { get; set; }
+
#endregion
#region Public Methods
@@ -98,11 +112,20 @@
/// Path to the project to be opened.
void Run(string projectPath);
+ #endregion
+
+ #region Events
+
///
/// Fired after application has been started.
///
event Action AfterRun;
+ ///
+ /// Fired when user changes selection by clicking on it or by setting it using Selection property.
+ ///
+ event EventHandler SelectionChanged;
+
#endregion
}
}
\ No newline at end of file
Fisheye: Tag 514a21b29960c70b271d098cadc73ba23c8d4e63 refers to a dead (removed) revision in file `src/Common/DelftTools.Shell.Gui/ISelectionContainer.cs'.
Fisheye: No comparison available. Pass `N' to diff?