Index: Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs
===================================================================
diff -u -r4f120b185c0bab9cd21919de2b0fd12584598676 -r7e054aa73eb2e3e3c9c39c046e4f0e9866ca166b
--- Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision 4f120b185c0bab9cd21919de2b0fd12584598676)
+++ Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml.cs (.../AvalonDockViewHost.xaml.cs) (revision 7e054aa73eb2e3e3c9c39c046e4f0e9866ca166b)
@@ -104,7 +104,7 @@
}
}
- public void AddDocumentView(IView view)
+ public void AddDocumentView(IView view, string title)
{
var control = view as Control;
if (control == null)
@@ -125,7 +125,7 @@
};
var layoutDocument = new LayoutDocument
{
- Title = view.Text,
+ Title = title,
Content = hostControl
};
Index: Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs
===================================================================
diff -u -rd6b7ed144b128f034c3a8d18671e42aae9eacc3e -r7e054aa73eb2e3e3c9c39c046e4f0e9866ca166b
--- Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs (.../IViewHost.cs) (revision d6b7ed144b128f034c3a8d18671e42aae9eacc3e)
+++ Core/Gui/src/Core.Gui/Forms/ViewHost/IViewHost.cs (.../IViewHost.cs) (revision 7e054aa73eb2e3e3c9c39c046e4f0e9866ca166b)
@@ -80,8 +80,9 @@
/// Adds a document view and makes it active.
///
/// The document view to add.
+ /// The title to show.
///
- void AddDocumentView(IView view);
+ void AddDocumentView(IView view, string title);
///
/// Adds a tool view.