ComponentDesigner.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. //
  2. // System.ComponentModel.Design.ComponentDesigner
  3. //
  4. // Authors:
  5. // Martin Willemoes Hansen ([email protected])
  6. //
  7. // (C) 2003 Martin Willemoes Hansen
  8. //
  9. //
  10. // Permission is hereby granted, free of charge, to any person obtaining
  11. // a copy of this software and associated documentation files (the
  12. // "Software"), to deal in the Software without restriction, including
  13. // without limitation the rights to use, copy, modify, merge, publish,
  14. // distribute, sublicense, and/or sell copies of the Software, and to
  15. // permit persons to whom the Software is furnished to do so, subject to
  16. // the following conditions:
  17. //
  18. // The above copyright notice and this permission notice shall be
  19. // included in all copies or substantial portions of the Software.
  20. //
  21. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  22. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  23. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  24. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  25. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  26. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  27. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  28. //
  29. using System.Collections;
  30. namespace System.ComponentModel.Design
  31. {
  32. public class ComponentDesigner : IDesigner, IDisposable, IDesignerFilter
  33. {
  34. protected sealed class ShadowPropertyCollection
  35. {
  36. public object this[string propertyName]
  37. {
  38. [MonoTODO]
  39. get { throw new NotImplementedException (); }
  40. [MonoTODO]
  41. set { throw new NotImplementedException (); }
  42. }
  43. [MonoTODO]
  44. public bool Contains (string propertyName)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. [MonoTODO]
  49. ~ShadowPropertyCollection ()
  50. {
  51. }
  52. }
  53. [MonoTODO]
  54. public ComponentDesigner ()
  55. {
  56. }
  57. #region Implementation of IDesignerFilter
  58. void IDesignerFilter.PostFilterAttributes (IDictionary attributes)
  59. {
  60. PostFilterAttributes (attributes);
  61. }
  62. void IDesignerFilter.PostFilterEvents (IDictionary events)
  63. {
  64. PostFilterEvents (events);
  65. }
  66. void IDesignerFilter.PostFilterProperties (IDictionary properties)
  67. {
  68. PostFilterProperties (properties);
  69. }
  70. void IDesignerFilter.PreFilterAttributes (IDictionary attributes)
  71. {
  72. PreFilterAttributes (attributes);
  73. }
  74. void IDesignerFilter.PreFilterEvents (IDictionary events)
  75. {
  76. PreFilterEvents (events);
  77. }
  78. void IDesignerFilter.PreFilterProperties (IDictionary properties)
  79. {
  80. PreFilterProperties (properties);
  81. }
  82. #endregion Implementation of IDesignerFilter
  83. public virtual ICollection AssociatedComponents
  84. {
  85. [MonoTODO]
  86. get { throw new NotImplementedException (); }
  87. }
  88. public IComponent Component
  89. {
  90. [MonoTODO]
  91. get { throw new NotImplementedException (); }
  92. }
  93. public virtual DesignerVerbCollection Verbs
  94. {
  95. [MonoTODO]
  96. get { throw new NotImplementedException (); }
  97. }
  98. [MonoTODO]
  99. public void Dispose ()
  100. {
  101. GC.SuppressFinalize (this);
  102. throw new NotImplementedException ();
  103. }
  104. [MonoTODO]
  105. protected virtual void Dispose (bool disposing)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. [MonoTODO]
  110. public virtual void DoDefaultAction ()
  111. {
  112. throw new NotImplementedException ();
  113. }
  114. [MonoTODO]
  115. public virtual void Initialize (IComponent component)
  116. {
  117. throw new NotImplementedException ();
  118. }
  119. [MonoTODO]
  120. public virtual void InitializeNonDefault ()
  121. {
  122. throw new NotImplementedException ();
  123. }
  124. [MonoTODO]
  125. public virtual void OnSetComponentDefaults ()
  126. {
  127. throw new NotImplementedException ();
  128. }
  129. protected InheritanceAttribute InheritanceAttribute
  130. {
  131. [MonoTODO]
  132. get { throw new NotImplementedException (); }
  133. }
  134. protected bool Inherited
  135. {
  136. [MonoTODO]
  137. get { throw new NotImplementedException (); }
  138. }
  139. protected ShadowPropertyCollection ShadowProperties
  140. {
  141. [MonoTODO]
  142. get { throw new NotImplementedException (); }
  143. }
  144. [MonoTODO]
  145. protected virtual object GetService (Type serviceType)
  146. {
  147. throw new NotImplementedException ();
  148. }
  149. [MonoTODO]
  150. protected InheritanceAttribute InvokeGetInheritanceAttribute (ComponentDesigner toInvoke)
  151. {
  152. throw new NotImplementedException ();
  153. }
  154. [MonoTODO]
  155. protected virtual void PostFilterAttributes (IDictionary attributes)
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. [MonoTODO]
  160. protected virtual void PostFilterEvents (IDictionary events)
  161. {
  162. throw new NotImplementedException ();
  163. }
  164. [MonoTODO]
  165. protected virtual void PostFilterProperties (IDictionary properties)
  166. {
  167. throw new NotImplementedException ();
  168. }
  169. [MonoTODO]
  170. protected virtual void PreFilterAttributes (IDictionary attributes)
  171. {
  172. throw new NotImplementedException ();
  173. }
  174. [MonoTODO]
  175. protected virtual void PreFilterEvents (IDictionary events)
  176. {
  177. throw new NotImplementedException ();
  178. }
  179. [MonoTODO]
  180. protected virtual void PreFilterProperties (IDictionary properties)
  181. {
  182. throw new NotImplementedException ();
  183. }
  184. [MonoTODO]
  185. protected void RaiseComponentChanged (MemberDescriptor member, object oldValue, object newValue)
  186. {
  187. throw new NotImplementedException ();
  188. }
  189. [MonoTODO]
  190. protected void RaiseComponentChanging (MemberDescriptor member)
  191. {
  192. throw new NotImplementedException ();
  193. }
  194. [MonoTODO]
  195. ~ComponentDesigner ()
  196. {
  197. }
  198. }
  199. }