Browse Source

rename WpfViewer to ProfilingReportViewer

newNR
Siegfried Pammer 12 years ago
parent
commit
48d41ee106
  1. 2
      src/AddIns/Analysis/Profiler/Frontend/AddIn/Profiler.AddIn.csproj
  2. 2
      src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/Views/ProfilerDisplayBinding.cs
  3. 10
      src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/Views/ProfilingReportViewer.cs

2
src/AddIns/Analysis/Profiler/Frontend/AddIn/Profiler.AddIn.csproj

@ -102,7 +102,7 @@
</Compile> </Compile>
<Compile Include="Src\Views\ProfilerDisplayBinding.cs"> <Compile Include="Src\Views\ProfilerDisplayBinding.cs">
</Compile> </Compile>
<Compile Include="Src\Views\WpfViewer.cs" /> <Compile Include="Src\Views\ProfilingReportViewer.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Page Include="Src\Dialogs\ProfileExecutableForm.xaml"> <Page Include="Src\Dialogs\ProfileExecutableForm.xaml">

2
src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/Views/ProfilerDisplayBinding.cs

@ -44,7 +44,7 @@ namespace ICSharpCode.Profiler.AddIn.Views
return null; return null;
} }
} }
return new WpfViewer(file, provider); return new ProfilingReportViewer(file, provider);
} }
public bool IsPreferredBindingForFile(FileName fileName) public bool IsPreferredBindingForFile(FileName fileName)

10
src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/Views/WpfViewer.cs → src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/Views/ProfilingReportViewer.cs

@ -10,11 +10,10 @@ using ICSharpCode.SharpDevelop.Workbench;
namespace ICSharpCode.Profiler.AddIn.Views namespace ICSharpCode.Profiler.AddIn.Views
{ {
/// <summary> /// <summary>
/// Description of the view content /// ViewContent that displays profiling session results.
/// </summary> /// </summary>
public class WpfViewer : AbstractViewContent public class ProfilingReportViewer : AbstractViewContent
{ {
ProfilingDataProvider provider; ProfilingDataProvider provider;
ProfilerView dataView; ProfilerView dataView;
@ -37,10 +36,7 @@ namespace ICSharpCode.Profiler.AddIn.Views
get { return file.FileName; } get { return file.FileName; }
} }
/// <summary> public ProfilingReportViewer(OpenedFile file, ProfilingDataSQLiteProvider provider)
/// Creates a new WpfViewer object
/// </summary>
public WpfViewer(OpenedFile file, ProfilingDataSQLiteProvider provider)
{ {
// HACK : OpenedFile architecture does not allow to keep files open // HACK : OpenedFile architecture does not allow to keep files open
// but it is necessary for the ProfilerView to keep the session file open. // but it is necessary for the ProfilerView to keep the session file open.
Loading…
Cancel
Save