Index: Core/Common/src/Core.Common.Gui/IDocumentViewController.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IDocumentViewController.cs (.../IDocumentViewController.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IDocumentViewController.cs (.../IDocumentViewController.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -42,24 +42,18 @@
IView ActiveView { get; }
///
- /// Gets all document views currently opened in the gui.
+ /// Gets all document views currently opened in the user interface.
///
IViewList DocumentViews { get; }
///
- /// Resolves document views
+ /// Gets the object responsible for finding a view registered to visualize a data object.
///
IViewResolver DocumentViewsResolver { get; }
///
- /// Suspends view removal on item delete. Useful to avoid unnecessary checks (faster item removal).
+ /// Update the tool tip for every view currently open.
///
- bool IsViewRemoveOnItemDeleteSuspended { get; set; }
-
- ///
- /// Update the tool tip for every view currently open. Reasons for doing so
- /// include the modification of the tree structure which is reflected in a tool tip.
- ///
void UpdateToolTips();
}
}
\ No newline at end of file
Index: Core/Common/src/Core.Common.Gui/IGui.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IGui.cs (.../IGui.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IGui.cs (.../IGui.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -40,8 +40,7 @@
{
///
/// Object responsible for retrieving the instance
- /// for a given data object and wrapping that in a
- /// for the application to be used.
+ /// for a given data object for the application to use.
///
IPropertyResolver PropertyResolver { get; }
@@ -51,24 +50,25 @@
ApplicationCore ApplicationCore { get; }
///
- /// Gets or sets the current storage.
+ /// Gets or sets the current project storage.
///
IStoreProject Storage { get; }
///
- /// Runs gui. Internally it runs , initializes all user interface components, including
- /// those loaded from plugins. After that it creates and shows main window.
+ /// Runs the user interface, causing all user interface components to initialize,
+ /// loading plugins and displaying the main window.
///
void Run();
///
- /// Runs gui and opens a given project in gui.ApplicationCore.
+ /// Runs the user interface, causing all user interface components to initialize,
+ /// loading plugins, opening a saved project and displaying the main window.
///
/// Path to the project to be opened.
void Run(string projectPath);
///
- /// Exits gui by user request.
+ /// Terminates the application.
///
void Exit();
}
Index: Core/Common/src/Core.Common.Gui/IGuiPluginsHost.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IGuiPluginsHost.cs (.../IGuiPluginsHost.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IGuiPluginsHost.cs (.../IGuiPluginsHost.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -19,7 +19,6 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
-using System;
using System.Collections;
using System.Collections.Generic;
using Core.Common.Controls.TreeView;
@@ -28,7 +27,7 @@
namespace Core.Common.Gui
{
///
- /// Interface describing the object that hosts all the leaded graphical user interface
+ /// Interface describing the object that hosts all the loaded graphical user interface
/// plugins of the application.
///
public interface IGuiPluginsHost
@@ -39,15 +38,7 @@
IList Plugins { get; }
///
- /// Returns GuiPlugin for a given type.
- /// TODO: a bit too implicit method, to be removed.
- ///
- /// Any type loaded from plugin.
- /// Plugin gui associated with a given type
- GuiPlugin GetPluginGuiForType(Type type);
-
- ///
- /// Queries the plugins to get all data with view definitions recursively given a
+ /// Queries the plugins to get all data with view definitions recursively, given a
/// piece of hierarchical data.
///
/// The root data object.
@@ -57,7 +48,6 @@
///
/// Retrieves all the defined on the configured plugins.
///
- /// An of which are configured in .
IEnumerable GetTreeNodeInfos();
}
}
\ No newline at end of file
Index: Core/Common/src/Core.Common.Gui/IMainWindowController.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IMainWindowController.cs (.../IMainWindowController.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IMainWindowController.cs (.../IMainWindowController.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -24,7 +24,7 @@
namespace Core.Common.Gui
{
///
- /// Interface that declare member that allow for the controlling the main window of
+ /// Interface that declare members that allow for the controlling the main window of
/// the application.
///
public interface IMainWindowController
Index: Core/Common/src/Core.Common.Gui/IProjectOwner.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IProjectOwner.cs (.../IProjectOwner.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IProjectOwner.cs (.../IProjectOwner.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -26,7 +26,7 @@
namespace Core.Common.Gui
{
///
- /// Interface declaring members related to owning an .
+ /// Interface declaring members related to owning a .
///
public interface IProjectOwner
{
Index: Core/Common/src/Core.Common.Gui/IToolViewController.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/IToolViewController.cs (.../IToolViewController.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/IToolViewController.cs (.../IToolViewController.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -30,15 +30,16 @@
public interface IToolViewController
{
///
- /// Gets view manager used to handle tool windows.
+ /// Gets the collection of opened tool views.
///
IViewList ToolWindowViews { get; }
///
/// Checks whether a tool window of type is open.
///
/// The type of tool window to check for.
- /// true if a tool window of type is open, false otherwise.
+ /// true if a tool window of type is open,
+ /// false otherwise.
bool IsToolWindowOpen();
///
Index: Core/Common/src/Core.Common.Gui/PropertyBag/ObjectProperties.cs
===================================================================
diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/PropertyBag/ObjectProperties.cs (.../ObjectProperties.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71)
+++ Core/Common/src/Core.Common.Gui/PropertyBag/ObjectProperties.cs (.../ObjectProperties.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -24,8 +24,9 @@
namespace Core.Common.Gui.PropertyBag
{
///
- /// Base class for object properties with data of type
+ /// Base class for object properties with data of type .
///
+ /// Type of .
public class ObjectProperties : IObjectProperties
{
protected T data;
Index: Core/Common/src/Core.Common.Gui/RingtoetsGui.cs
===================================================================
diff -u -r67980a5c3c5cb71c185278e849b123e7f92990eb -r0ae715fe2b16306e4147fed9749bae67ce186168
--- Core/Common/src/Core.Common.Gui/RingtoetsGui.cs (.../RingtoetsGui.cs) (revision 67980a5c3c5cb71c185278e849b123e7f92990eb)
+++ Core/Common/src/Core.Common.Gui/RingtoetsGui.cs (.../RingtoetsGui.cs) (revision 0ae715fe2b16306e4147fed9749bae67ce186168)
@@ -969,23 +969,6 @@
public IList Plugins { get; private set; }
- public GuiPlugin GetPluginGuiForType(Type type)
- {
- foreach (var plugin in Plugins)
- {
- Type[] pluginTypes = plugin.GetType().Assembly.GetTypes();
- foreach (Type pluginType in pluginTypes)
- {
- if (pluginType == type)
- {
- return plugin;
- }
- }
- }
-
- return null;
- }
-
public IEnumerable GetAllDataWithViewDefinitionsRecursively(object rootDataObject)
{
var resultSet = new HashSet