New test.
[mono.git] / mcs / class / System.Design / System.ComponentModel.Design / LocalizationExtenderProvider.cs
1 //
2 // System.ComponentModel.Design.LocalizationExtenderProvider
3 //
4 // Authors:
5 //      Martin Willemoes Hansen (mwh@sysrq.dk)
6 //
7 // (C) 2003 Martin Willemoes Hansen
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30
31 using System.Globalization;
32
33 namespace System.ComponentModel.Design
34 {
35         [ProvideProperty("Localizable", typeof(object))]
36         [ProvideProperty("Language", typeof(object))]
37         [ProvideProperty("LoadLanguage", typeof(object))]
38         public class LocalizationExtenderProvider : IExtenderProvider, IDisposable
39         {
40                 [MonoTODO]
41                 public LocalizationExtenderProvider (ISite serviceProvider,
42                                                      IComponent baseComponent)
43                 {
44                 }
45
46                 [MonoTODO]
47                 public bool CanExtend (object o)
48                 {
49                         throw new NotImplementedException();
50                 }
51
52                 [MonoTODO]
53                 public void Dispose()
54                 {
55                         throw new NotImplementedException();
56                 }
57
58                 [MonoTODO]
59                 [Localizable (true)]
60                 [DesignOnly (true)]
61                 public CultureInfo GetLanguage (object o)
62                 {
63                         throw new NotImplementedException();
64                 }
65
66                 [MonoTODO]
67                 [DesignOnly (true)]
68                 [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)]
69                 [Browsable (false)]
70                 public CultureInfo GetLoadLanguage (object o)
71                 {
72                         throw new NotImplementedException();
73                 }
74
75                 [MonoTODO]
76                 [Localizable (true)]
77                 [DesignOnly (true)]
78                 public bool GetLocalizable (object o)
79                 {
80                         throw new NotImplementedException();
81                 }
82
83                 [MonoTODO]
84                 public void ResetLanguage (object o)
85                 {
86                         throw new NotImplementedException();
87                 }
88
89                 [MonoTODO]
90                 public void SetLanguage (object o, CultureInfo language)
91                 {
92                         throw new NotImplementedException();
93                 }
94
95                 [MonoTODO]
96                 public void SetLocalizable (object o, bool localizable)
97                 {
98                         throw new NotImplementedException();
99                 }
100
101                 [MonoTODO]
102                 public bool ShouldSerializeLanguage (object o)
103                 {
104                         throw new NotImplementedException();
105                 }
106         }
107 }