Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / class / System.Design / System.Web.UI.Design.WebControls / DataListComponentEditor.cs
old mode 100755 (executable)
new mode 100644 (file)
index 95483ee..96f54b6
@@ -1,4 +1,9 @@
-
+//
+// System.Web.UI.Design.WebControls.DataListComponentEditor.cs
+//
+// Author: Duncan Mak (duncan@novell.com)
+//
+// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-/**
- * Namespace:   System.Web.UI.Design.WebControls
- * Class:       DataListComponentEditor
- *
- * Author:      Gaurav Vaish
- * Maintainer:  mastergaurav AT users DOT sf DOT net
- *
- * (C) Gaurav Vaish (2002)
- */
 
-using System;
 using System.ComponentModel;
-using System.ComponentModel.Design;
-using System.Web.UI.Design;
+using System.Windows.Forms;
 using System.Windows.Forms.Design;
-using System.Web.UI.WebControls;
 
-namespace System.Web.UI.Design.WebControls
-{
+namespace System.Web.UI.Design.WebControls {
+
        public class DataListComponentEditor : BaseDataListComponentEditor
        {
-               internal static int GENERAL = 0x00;
-               internal static int FORMAT  = 0x01;
-               internal static int BORDERS = 0x02;
-
-               private static Type[] componentEditorPages;
-
-               static DataListComponentEditor()
+               public DataListComponentEditor ()
+                       : base (0)
                {
-                       componentEditorPages = new Type[] {
-                               typeof(GeneralPageDataListInternal),
-                               typeof(FormatPageInternal),
-                               typeof(BordersPageInternal)
-                       };
                }
 
-               public DataListComponentEditor() : base(GENERAL)
+               public DataListComponentEditor (int initialPage)
+                       : base (initialPage)
                {
                }
-               
-               public DataListComponentEditor(int initialPage) : base(initialPage)
+
+               public override bool EditComponent (
+                       ITypeDescriptorContext context,
+                       object obj,
+                       IWin32Window parent)
                {
+                       throw new NotImplementedException ();
                }
-               
-               protected override Type[] GetComponentEditorPages()
+
+               protected override Type [] GetComponentEditorPages ()
                {
-                       return componentEditorPages;
+                       throw new NotImplementedException ();
                }
        }
-}
+}
\ No newline at end of file