1 //
2 // System.Web.UI.Design.HierarchicalDataSourceDesigner
3 //
4 // Author:
5 //	Atsushi Enomoto (atsushi@ximian.com)
6 //
7 // (C) 2007 Novell, Inc (http://www.novell.com)
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 
32 using System;
33 using System.ComponentModel;
34 using System.ComponentModel.Design;
35 using System.Globalization;
36 using System.Security.Permissions;
37 
38 namespace System.Web.UI.Design {
39 
40 	[SecurityPermission (SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
41 	public class HierarchicalDataSourceDesigner : ControlDesigner, IHierarchicalDataSourceDesigner
42 	{
HierarchicalDataSourceDesigner()43 		public HierarchicalDataSourceDesigner ()
44 		{
45 		}
46 
47 		public event EventHandler DataSourceChanged;
48 
49 		public event EventHandler SchemaRefreshed;
50 
51 		[MonoTODO]
52 		public override DesignerActionListCollection ActionLists {
53 			get { throw new NotImplementedException (); }
54 		}
55 
56 		[MonoTODO]
57 		public virtual bool CanConfigure {
58 			get { throw new NotImplementedException (); }
59 		}
60 
61 		[MonoTODO]
62 		public virtual bool CanRefreshSchema {
63 			get { throw new NotImplementedException (); }
64 		}
65 
66 		[MonoTODO]
67 		protected bool SuppressingDataSourceEvents {
68 			get { throw new NotImplementedException (); }
69 		}
70 
Configure()71 		public virtual void Configure ()
72 		{
73 			throw new NotSupportedException ();
74 		}
75 
76 		[MonoTODO]
GetDesignTimeHtml()77 		public override string GetDesignTimeHtml ()
78 		{
79 			throw new NotImplementedException ();
80 		}
81 
82 		[MonoTODO]
GetView(string viewPath)83 		public virtual DesignerHierarchicalDataSourceView GetView (string viewPath)
84 		{
85 			throw new NotImplementedException ();
86 		}
87 
88 		[MonoTODO]
OnDataSourceChanged(EventArgs e)89 		protected virtual void OnDataSourceChanged (EventArgs e)
90 		{
91 			throw new NotImplementedException ();
92 		}
93 
94 		[MonoTODO]
OnSchemaRefreshed(EventArgs e)95 		protected virtual void OnSchemaRefreshed (EventArgs e)
96 		{
97 			throw new NotImplementedException ();
98 		}
99 
100 		[MonoTODO]
RefreshSchema(bool preferSilent)101 		public virtual void RefreshSchema (bool preferSilent)
102 		{
103 			throw new NotImplementedException ();
104 		}
105 
106 		[MonoTODO]
ResumeDataSourceEvents()107 		public virtual void ResumeDataSourceEvents ()
108 		{
109 			throw new NotImplementedException ();
110 		}
111 
112 		[MonoTODO]
SuppressDataSourceEvents()113 		public virtual void SuppressDataSourceEvents ()
114 		{
115 			throw new NotImplementedException ();
116 		}
117 	}
118 
119 }
120 
121