2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
authorJonathan Chambers <joncham@gmail.com>
Fri, 9 Sep 2005 19:41:50 +0000 (19:41 -0000)
committerJonathan Chambers <joncham@gmail.com>
Fri, 9 Sep 2005 19:41:50 +0000 (19:41 -0000)
        * IRootGridEntry.cs: Added
        * PropertyGridCommands.cs: Added
        * PropertiesTab.cs: Added missing methods and property
        * PropertyGridView.cs: Made class internal
        * PropertyGridTextBox.cs: Made class internal

svn path=/trunk/mcs/; revision=49825

mcs/class/Managed.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/IRootGridEntry.cs [new file with mode: 0755]
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertiesTab.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridCommands.cs [new file with mode: 0755]
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridTextBox.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridView.cs

index ec546a2f6417030e622224c39f2fd56aaeb75aaf..fbc3ec882b2da2fe10bdfbbcee622d1c2222953d 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-09 Jonathan Chambers  <jonathan.chambers@ansys.com>
+
+       * System.Windows.Forms.dll.sources: Added IRootGridEntry.cs and PropertyGridCommands.cs
+
 2005-09-09  Hisham Mardam Bey  <hisham.mardambey@gmail.com>
 
         * Test/System.Windows.Forms/LabelTest.cs : More tests. 
index cfdb43fa554a554515cc65d4a906af770b254eab..4a60773d9a2a2245bee3a683f4f461b9ee58930f 100644 (file)
@@ -1,3 +1,11 @@
+2005-09-09  Jonathan Chambers  <jonathan.chambers@ansys.com>
+
+       * IRootGridEntry.cs: Added
+       * PropertyGridCommands.cs: Added
+       * PropertiesTab.cs: Added missing methods and property
+       * PropertyGridView.cs: Made class internal
+       * PropertyGridTextBox.cs: Made class internal
+
 2005-09-09  Alexander Olk  <alex.olk@googlemail.com>
 
        * MimeIcon.cs: Try to check some other environment variables
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/IRootGridEntry.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/IRootGridEntry.cs
new file mode 100755 (executable)
index 0000000..ac2f34e
--- /dev/null
@@ -0,0 +1,40 @@
+// 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
+// COMPLETE\r
+\r
+using System;\r
+namespace System.Windows.Forms\r
+{\r
+       public interface IRootGridEntry\r
+       {\r
+               System.ComponentModel.AttributeCollection BrowsableAttributes { get; set; }\r
+\r
+               void ShowCategories ( bool showCategories );\r
+\r
+               void ResetBrowsableAttributes ();\r
+       }\r
+}\r
index 58200111463192a373df66e8ce38dfa090359bcf..05cb7efcf5570e2d09b9c9ffd820913403038d58 100755 (executable)
@@ -1,3 +1,31 @@
+// 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
@@ -13,17 +41,37 @@ namespace System.Windows.Forms.PropertyGridInternal
 \r
                public override System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes)\r
                {\r
-                       return null;\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 null;\r
+                               return string.Empty;\r
                        }\r
                }\r
 \r
 \r
+\r
        }\r
 }\r
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridCommands.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGridCommands.cs
new file mode 100755 (executable)
index 0000000..b0de7e8
--- /dev/null
@@ -0,0 +1,47 @@
+// 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
+// COMPLETE\r
+\r
+using System;\r
+using System.ComponentModel.Design;\r
+\r
+namespace System.Windows.Forms.PropertyGridInternal\r
+{\r
+       public class PropertyGridCommands\r
+       {\r
+               public PropertyGridCommands()\r
+               {\r
+               }\r
+\r
+               public static readonly CommandID Commands;\r
+               public static readonly CommandID Description;\r
+               public static readonly CommandID Hide;\r
+               public static readonly CommandID Reset;\r
+               protected static readonly Guid wfcMenuCommand;\r
+               protected static readonly Guid wfcMenuGroup;\r
+       }\r
+}\r
index 1a1f330c4e0bdcaa5a7393d8df2dbddfc57bfe86..9d8d5b060d79861d0efa058ecfe8b6044abdde38 100644 (file)
@@ -1,7 +1,7 @@
 using System;\r
 \r
 namespace System.Windows.Forms.PropertyGridInternal {\r
-       public class PropertyGridTextBox : System.Windows.Forms.UserControl {\r
+       internal class PropertyGridTextBox : System.Windows.Forms.UserControl {\r
                private TextBox textbox;\r
                private Button dialog_button;\r
                private Button dropdown_button;\r
index 8b9e5ccf6917a16e58657aa3e5d72589762c1663..0ee17b6993ab39f220253d216ae96a9b11732399 100644 (file)
@@ -35,7 +35,7 @@ using System.Windows.Forms.Design;
 \r
 namespace System.Windows.Forms.PropertyGridInternal \r
 {\r
-       public class PropertyGridView : System.Windows.Forms.ScrollableControl, IWindowsFormsEditorService\r
+       internal class PropertyGridView : System.Windows.Forms.ScrollableControl, IWindowsFormsEditorService\r
        {\r
 \r
                #region Private Members\r