ComponentDesigner.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. protected virtual void Dispose (bool disposing)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public virtual void DoDefaultAction ()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. public virtual void Initialize (IComponent component)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. public virtual void InitializeNonDefault ()
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. public virtual void OnSetComponentDefaults ()
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. protected InheritanceAttribute InheritanceAttribute
  129. {
  130. [MonoTODO]
  131. get { throw new NotImplementedException (); }
  132. }
  133. protected bool Inherited
  134. {
  135. [MonoTODO]
  136. get { throw new NotImplementedException (); }
  137. }
  138. protected ShadowPropertyCollection ShadowProperties
  139. {
  140. [MonoTODO]
  141. get { throw new NotImplementedException (); }
  142. }
  143. [MonoTODO]
  144. protected virtual object GetService (Type serviceType)
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. protected InheritanceAttribute InvokeGetInheritanceAttribute (ComponentDesigner toInvoke)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. protected virtual void PostFilterAttributes (IDictionary attributes)
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. [MonoTODO]
  159. protected virtual void PostFilterEvents (IDictionary events)
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. [MonoTODO]
  164. protected virtual void PostFilterProperties (IDictionary properties)
  165. {
  166. throw new NotImplementedException ();
  167. }
  168. [MonoTODO]
  169. protected virtual void PreFilterAttributes (IDictionary attributes)
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. [MonoTODO]
  174. protected virtual void PreFilterEvents (IDictionary events)
  175. {
  176. throw new NotImplementedException ();
  177. }
  178. [MonoTODO]
  179. protected virtual void PreFilterProperties (IDictionary properties)
  180. {
  181. throw new NotImplementedException ();
  182. }
  183. [MonoTODO]
  184. protected void RaiseComponentChanged (MemberDescriptor member, object oldValue, object newValue)
  185. {
  186. throw new NotImplementedException ();
  187. }
  188. [MonoTODO]
  189. protected void RaiseComponentChanging (MemberDescriptor member)
  190. {
  191. throw new NotImplementedException ();
  192. }
  193. [MonoTODO]
  194. ~ComponentDesigner ()
  195. {
  196. }
  197. }
  198. }