~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/Reports/ICSharpCode.Reports.Addin/Test/Designer/MockDesignerGenerator.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
 
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
 
3
 
 
4
using System;
 
5
using ICSharpCode.Reports.Addin;
 
6
 
 
7
namespace ICSharpCode.Reports.Addin.Test.Designer
 
8
{
 
9
        
 
10
        public class MockDesignerGenerator:IDesignerGenerator
 
11
        {
 
12
                ReportDesignerView view;
 
13
                
 
14
                public MockDesignerGenerator()
 
15
                {
 
16
                        
 
17
                }
 
18
                public System.CodeDom.Compiler.CodeDomProvider CodeDomProvider {
 
19
                        get {
 
20
                                throw new NotImplementedException();
 
21
                        }
 
22
                }
 
23
                
 
24
                public ReportDesignerView ViewContent {
 
25
                        get {
 
26
                                return this.view;
 
27
                        }
 
28
                }
 
29
                
 
30
                public void Attach(ReportDesignerView viewContent)
 
31
                {
 
32
                this.view = viewContent;
 
33
                }
 
34
                
 
35
                public void Detach()
 
36
                {
 
37
                        throw new NotImplementedException();
 
38
                }
 
39
                
 
40
                public System.Collections.Generic.IEnumerable<ICSharpCode.SharpDevelop.OpenedFile> GetSourceFiles(out ICSharpCode.SharpDevelop.OpenedFile designerCodeFile)
 
41
                {
 
42
                        throw new NotImplementedException();
 
43
                }
 
44
                
 
45
                public void MergeFormChanges(System.CodeDom.CodeCompileUnit unit)
 
46
                {
 
47
                        throw new NotImplementedException();
 
48
                }
 
49
                
 
50
                public bool InsertComponentEvent(System.ComponentModel.IComponent component, System.ComponentModel.EventDescriptor edesc, string eventMethodName, string body, out string file, out int position)
 
51
                {
 
52
                        throw new NotImplementedException();
 
53
                }
 
54
                
 
55
        }
 
56
}