Index: Core/Common/src/Core.Common.Gui/Forms/ViewHost/DocumentViewController.cs =================================================================== diff -u -r9a273c290e7601aee519c41da49c957de3993750 -rf140d4fc3126b72ff6b9c49fba84f36685972b79 --- Core/Common/src/Core.Common.Gui/Forms/ViewHost/DocumentViewController.cs (.../DocumentViewController.cs) (revision 9a273c290e7601aee519c41da49c957de3993750) +++ Core/Common/src/Core.Common.Gui/Forms/ViewHost/DocumentViewController.cs (.../DocumentViewController.cs) (revision f140d4fc3126b72ff6b9c49fba84f36685972b79) @@ -242,16 +242,9 @@ } } - private Type GetDefaultViewTypeForData(object dataObject) - { - Type selectionType = dataObject.GetType(); - - return DefaultViewTypes.ContainsKey(selectionType) ? DefaultViewTypes[selectionType] : null; - } - private ViewInfo GetViewInfoUsingDialog(object data, IEnumerable viewInfoList) { - Type defaultViewTypeForData = GetDefaultViewTypeForData(data); + Type defaultViewTypeForData = GetDefaultViewType(data); string defaultViewName = defaultViewTypeForData != null ? viewInfoList.First(vi => vi.ViewType == defaultViewTypeForData).Description : null;