2006-12-26 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / PropertiesTab.cs
old mode 100755 (executable)
new mode 100644 (file)
index 05cb7ef..3546ceb
@@ -1,77 +1,61 @@
-// Permission is hereby granted, free of charge, to any person obtaining\r
-// a copy of this software and associated documentation files (the\r
-// "Software"), to deal in the Software without restriction, including\r
-// without limitation the rights to use, copy, modify, merge, publish,\r
-// distribute, sublicense, and/or sell copies of the Software, and to\r
-// permit persons to whom the Software is furnished to do so, subject to\r
-// the following conditions:\r
-// \r
-// The above copyright notice and this permission notice shall be\r
-// included in all copies or substantial portions of the Software.\r
-// \r
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\r
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
-//\r
-// Copyright (c) 2005 Novell, Inc.\r
-//\r
-// Authors:\r
-//     Jonathan Chambers       jonathan.chambers@ansys.com\r
-//\r
-\r
-\r
-// NOT COMPLETE\r
-\r
-using System;\r
-\r
-namespace System.Windows.Forms.PropertyGridInternal\r
-{\r
-       /// <summary>\r
-       /// Summary description for PropertiesTab.\r
-       /// </summary>\r
-       public class PropertiesTab : System.Windows.Forms.Design.PropertyTab\r
-       {\r
-               public PropertiesTab()\r
-               {\r
-               }\r
-\r
-               public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)\r
-               {\r
-                       return base.GetProperties(null, component, attributes);\r
-               }\r
-\r
-               public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes)\r
-               {\r
-                       return base.GetProperties (context, component, attributes);\r
-               }\r
-\r
-               public override System.ComponentModel.PropertyDescriptor GetDefaultProperty (object component)\r
-               {\r
-                       return base.GetDefaultProperty(component);\r
-               }\r
-\r
-               public override string HelpKeyword\r
-               {\r
-                       get\r
-                       {\r
-                               return base.HelpKeyword;\r
-                       }\r
-               }\r
-\r
-\r
-               public override string TabName\r
-               {\r
-                       get\r
-                       {\r
-                               return string.Empty;\r
-                       }\r
-               }\r
-\r
-\r
-\r
-       }\r
-}\r
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2005 Novell, Inc.
+//
+// Authors:
+//     Jonathan Chambers       jonathan.chambers@ansys.com
+//
+
+
+// COMPLETE
+
+using System;
+
+namespace System.Windows.Forms.PropertyGridInternal {
+
+       public class PropertiesTab : System.Windows.Forms.Design.PropertyTab {
+               public PropertiesTab() {
+               }
+
+               public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes) {
+                       return base.GetProperties(null, component, attributes);
+               }
+
+               public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes) {
+                       return base.GetProperties (context, component, attributes);
+               }
+
+               public override System.ComponentModel.PropertyDescriptor GetDefaultProperty (object component) {
+                       return base.GetDefaultProperty(component);
+               }
+
+               public override string HelpKeyword {
+                       get {
+                               return "vs.properties";
+                       }
+               }
+
+               public override string TabName {
+                       get {
+                               return "Properties";
+                       }
+               }
+       }
+}