Index: Core/Common/src/Core.Common.Controls/Core.Common.Controls.csproj
===================================================================
diff -u -rd1a8aeaa05c36dfe386de7586dd129819594ee97 -r18e78f440e1df8cd03e3e337ef385b58266a34a5
--- Core/Common/src/Core.Common.Controls/Core.Common.Controls.csproj (.../Core.Common.Controls.csproj) (revision d1a8aeaa05c36dfe386de7586dd129819594ee97)
+++ Core/Common/src/Core.Common.Controls/Core.Common.Controls.csproj (.../Core.Common.Controls.csproj) (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -97,7 +97,6 @@
TrueResources.resx
-
Fisheye: Tag 18e78f440e1df8cd03e3e337ef385b58266a34a5 refers to a dead (removed) revision in file `Core/Common/src/Core.Common.Controls/ViewInfo.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Core/Common/src/Core.Common.Gui/Core.Common.Gui.csproj
===================================================================
diff -u -rd1a8aeaa05c36dfe386de7586dd129819594ee97 -r18e78f440e1df8cd03e3e337ef385b58266a34a5
--- Core/Common/src/Core.Common.Gui/Core.Common.Gui.csproj (.../Core.Common.Gui.csproj) (revision d1a8aeaa05c36dfe386de7586dd129819594ee97)
+++ Core/Common/src/Core.Common.Gui/Core.Common.Gui.csproj (.../Core.Common.Gui.csproj) (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -123,6 +123,7 @@
MessageWindowDialog.cs
+
Index: Core/Common/src/Core.Common.Gui/Forms/ViewManager/ViewResolver.cs
===================================================================
diff -u -re00a8a09daf851d9bf0486ff19f37285e3ad15ef -r18e78f440e1df8cd03e3e337ef385b58266a34a5
--- Core/Common/src/Core.Common.Gui/Forms/ViewManager/ViewResolver.cs (.../ViewResolver.cs) (revision e00a8a09daf851d9bf0486ff19f37285e3ad15ef)
+++ Core/Common/src/Core.Common.Gui/Forms/ViewManager/ViewResolver.cs (.../ViewResolver.cs) (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -4,6 +4,7 @@
using System.Windows.Forms;
using Core.Common.Controls;
using Core.Common.Controls.Views;
+using Core.Common.Gui.Plugin;
using Core.Common.Gui.Properties;
using Core.Common.Utils.Reflection;
using log4net;
Index: Core/Common/src/Core.Common.Gui/GuiPlugin.cs
===================================================================
diff -u -r8cae5d69ac2d4cf678486ac2b457c0dfe97089d5 -r18e78f440e1df8cd03e3e337ef385b58266a34a5
--- Core/Common/src/Core.Common.Gui/GuiPlugin.cs (.../GuiPlugin.cs) (revision 8cae5d69ac2d4cf678486ac2b457c0dfe97089d5)
+++ Core/Common/src/Core.Common.Gui/GuiPlugin.cs (.../GuiPlugin.cs) (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -4,6 +4,7 @@
using Core.Common.Controls;
using Core.Common.Controls.TreeView;
using Core.Common.Gui.Forms;
+using Core.Common.Gui.Plugin;
namespace Core.Common.Gui
{
Index: Core/Common/src/Core.Common.Gui/IViewResolver.cs
===================================================================
diff -u -r1a47be2a9f0336ef0d0d5bd6971e8e1cc3cbbfa4 -r18e78f440e1df8cd03e3e337ef385b58266a34a5
--- Core/Common/src/Core.Common.Gui/IViewResolver.cs (.../IViewResolver.cs) (revision 1a47be2a9f0336ef0d0d5bd6971e8e1cc3cbbfa4)
+++ Core/Common/src/Core.Common.Gui/IViewResolver.cs (.../IViewResolver.cs) (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using Core.Common.Controls;
using Core.Common.Controls.Views;
+using Core.Common.Gui.Plugin;
namespace Core.Common.Gui
{
Index: Core/Common/src/Core.Common.Gui/Plugin/ViewInfo.cs
===================================================================
diff -u
--- Core/Common/src/Core.Common.Gui/Plugin/ViewInfo.cs (revision 0)
+++ Core/Common/src/Core.Common.Gui/Plugin/ViewInfo.cs (revision 18e78f440e1df8cd03e3e337ef385b58266a34a5)
@@ -0,0 +1,182 @@
+using System;
+using System.Drawing;
+using Core.Common.Controls.Views;
+
+namespace Core.Common.Gui.Plugin
+{
+ public class ViewInfo : ICloneable
+ {
+ ///
+ /// Type of the data for this viewInfo
+ ///
+ public Type DataType { get; set; }
+
+ ///
+ /// Type of the data of the view
+ ///
+ public Type ViewDataType { get; set; }
+
+ ///
+ /// Type of the view
+ ///
+ public Type ViewType { get; set; }
+
+ ///
+ /// Description of the view (shown to the user when there is more then one view for an item)
+ ///
+ public string Description { get; set; }
+
+ ///
+ /// Name the view should have
+ ///
+ /// The view to get a name for
+ /// The data of the view
+ /// out - the view name
+ ///
+ ///
+ public Func GetViewName { get; set; }
+
+ ///
+ /// Icon of the view (shown top left)
+ ///
+ public Image Image { get; set; }
+
+ ///
+ /// Additional data checking for matching the ViewInfo
+ ///
+ /// Data as provided by the ViewProvider
+ /// out - Check succeeded
+ ///
+ ///
+ public Func