diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs index 322a53952a..c180a0c301 100644 --- a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs +++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/MainViewContent.cs @@ -215,6 +215,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core { } + public IDocument GetDocumentForFile(OpenedFile file) + { + return null; + } + public void JumpTo(int line, int column) { textEditor.ActiveTextAreaControl.JumpTo(line, column); diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs index 49014ecbbc..21133f5290 100644 --- a/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs +++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler.Core/Workbench.cs @@ -48,6 +48,10 @@ namespace ICSharpCode.SharpSnippetCompiler.Core get { return views; } } + public ICollection PrimaryViewContents { + get { return views.AsReadOnly(); } + } + public IList WorkbenchWindowCollection { get { throw new NotImplementedException(); @@ -95,6 +99,11 @@ namespace ICSharpCode.SharpSnippetCompiler.Core throw new NotImplementedException(); } + public void ShowView(IViewContent content, bool switchToOpenedView) + { + throw new NotImplementedException(); + } + public void UnloadPad(PadDescriptor content) { throw new NotImplementedException(); diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs b/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs index 14840f9b10..cc343a6aa3 100644 --- a/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs +++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchLayout.cs @@ -108,6 +108,11 @@ namespace ICSharpCode.SharpSnippetCompiler throw new NotImplementedException(); } + public IWorkbenchWindow ShowView(IViewContent content, bool switchToOpenedView) + { + throw new NotImplementedException(); + } + public void LoadConfiguration() { Console.WriteLine("WorkbenchLayout.LoadConfiguration not implemented"); diff --git a/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs b/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs index 5242154421..62e220b0ef 100644 --- a/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs +++ b/samples/SharpSnippetCompiler/SharpSnippetCompiler/WorkbenchWindow.cs @@ -64,12 +64,8 @@ namespace ICSharpCode.SharpSnippetCompiler } public IViewContent ActiveViewContent { - get { - throw new NotImplementedException(); - } - set { - throw new NotImplementedException(); - } + get { return null; } + set { } } public Icon Icon {