Author: miguel
Date: 2007-01-12 22:00:31 -0500 (Fri, 12 Jan 2007)
New Revision: 70943
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionHeaderItem.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItem.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItemCollection.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionList.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionMethodItem.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionPropertyItem.cs
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionTextItem.cs
Modified:
trunk/mcs/class/System.Design/System.Design.dll.sources
Log:
Few classes for some Telerik controls
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionHeaderItem.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionHeaderItem.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionHeaderItem.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,49 @@
+//
+// System.ComponentModel.Design.DesignerActionHeaderItem.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public sealed class DesignerActionHeaderItem : DesignerActionTextItem
+ {
+ public DesignerActionHeaderItem (string displayName)
+ : base (displayName, null)
+ {
+ }
+
+ public DesignerActionHeaderItem (string displayName, string
category)
+ : base (displayName, category)
+ {
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionHeaderItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItem.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItem.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItem.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,78 @@
+//
+// System.ComponentModel.Design.DesignerActionItem.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public abstract class DesignerActionItem {
+ bool allow_associate;
+ internal string category;
+ internal string description;
+ internal string display_name;
+
+ public bool AllowAssociate {
+ get {
+ return allow_associate;
+ }
+
+ set {
+ allow_associate = value;
+ }
+ }
+
+ public virtual string Category {
+ get {
+ return category;
+ }
+ }
+
+ public virtual string Description {
+ get {
+ return description;
+ }
+ }
+
+ public virtual string DisplayName {
+ get {
+ return display_name;
+ }
+ }
+
+ public IDictionary Properties {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItemCollection.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItemCollection.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItemCollection.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,92 @@
+//
+// System.ComponentModel.Design.DesignerActionItemCollection.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public class DesignerActionItemCollection : CollectionBase
+ {
+ //
+ // Constructors
+ //
+ public DesignerActionItemCollection ()
+ {
+ }
+
+ //
+ // Properties
+ //
+ public DesignerActionItem this [int index]
+ {
+ get {
+ return (DesignerActionItem) List [index];
+ }
+ set {
+ List [index] = value;
+ }
+ }
+
+ //
+ // Methods
+ //
+ public int Add (DesignerActionItem value)
+ {
+ return List.Add (value);
+ }
+
+ public bool Contains (DesignerActionItem value)
+ {
+ return List.Contains (value);
+ }
+
+ public void CopyTo (DesignerActionItem[] array, int index)
+ {
+ List.CopyTo (array, index);
+ }
+
+ public int IndexOf (DesignerActionItem value)
+ {
+ return List.IndexOf (value);
+ }
+
+ public void Insert (int index, DesignerActionItem value)
+ {
+ List.Insert (index, value);
+ }
+
+ public void Remove (DesignerActionItem value)
+ {
+ List.Remove (value);
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionItemCollection.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionList.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionList.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionList.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,76 @@
+//
+// System.ComponentModel.Design.DesignerActionList.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public class DesignerActionList
+ {
+ IComponent component;
+ bool auto_show;
+ DesignerActionItemCollection action_items;
+
+ public DesignerActionList (IComponent component)
+ {
+ this.component = component;
+ action_items = new DesignerActionItemCollection ();
+ }
+
+ public virtual bool AutoShow {
+ get {
+ return auto_show;
+ }
+
+ set {
+ auto_show = value;
+ }
+ }
+
+ public IComponent Component {
+ get {
+ return component;
+ }
+ }
+
+ public object GetService (Type serviceType)
+ {
+ return null;
+ throw new NotImplementedException ();
+ }
+
+ public virtual DesignerActionItemCollection
GetSortedActionItems ()
+ {
+ return action_items;
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionList.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionMethodItem.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionMethodItem.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionMethodItem.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,131 @@
+//
+// System.ComponentModel.Design.DesignerActionMethodItem.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public class DesignerActionMethodItem : DesignerActionItem
+ {
+ string member_name;
+ bool designer_verb;
+ IComponent related_component;
+ DesignerActionList action_list;
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName, string displayName)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ }
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName,
+ string displayName, bool
includeAsDesignerVerb)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.designer_verb = includeAsDesignerVerb;
+ }
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName,
+ string displayName, string
category)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ }
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName,
+ string displayName, string
category, bool includeAsDesignerVerb)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ this.designer_verb = includeAsDesignerVerb;
+ }
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName,
+ string displayName, string
category, string description)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ this.description = description;
+ }
+
+ public DesignerActionMethodItem (DesignerActionList actionList,
string memberName,
+ string displayName, string
category, string description,
+ bool includeAsDesignerVerb)
+ {
+ this.action_list = action_list;
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ this.description = description;
+ this.designer_verb = includeAsDesignerVerb;
+ }
+
+ public virtual bool IncludeAsDesignerVerb {
+ get {
+ return designer_verb;
+ }
+ }
+
+ public virtual string MemberName {
+ get {
+ return member_name;
+ }
+ }
+
+ public IComponent RelatedComponent {
+ get {
+ return related_component;
+ }
+
+ set {
+ related_component = value;
+ }
+ }
+
+ //
+ // I have no clue *where* this would look at to invoke the
command
+ //
+ public virtual void Invoke ()
+ {
+ throw new NotImplementedException ();
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionMethodItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionPropertyItem.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionPropertyItem.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionPropertyItem.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,79 @@
+//
+// System.ComponentModel.Design.DesignerActionPropertyItem.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public sealed class DesignerActionPropertyItem : DesignerActionItem
+ {
+ string member_name;
+ IComponent related_component;
+
+ public DesignerActionPropertyItem (string memberName, string
displayName)
+ {
+ this.member_name = memberName;
+ this.display_name = displayName;
+ }
+
+ public DesignerActionPropertyItem (string memberName, string
displayName, string category)
+ {
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ }
+
+ public DesignerActionPropertyItem (string memberName, string
displayName, string category, string description)
+ {
+ this.member_name = memberName;
+ this.display_name = displayName;
+ this.category = category;
+ this.description = description;
+ }
+
+ public string MemberName {
+ get {
+ return member_name;
+ }
+ }
+
+ public IComponent RelatedComponent {
+ get {
+ return related_component;
+ }
+
+ set {
+ related_component = value;
+ }
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionPropertyItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionTextItem.cs
===================================================================
---
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionTextItem.cs
2007-01-12 23:12:14 UTC (rev 70942)
+++
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionTextItem.cs
2007-01-13 03:00:31 UTC (rev 70943)
@@ -0,0 +1,45 @@
+//
+// System.ComponentModel.Design.DesignerActionHeaderItem.cs
+//
+// Authors:
+// Miguel de Icaza ([EMAIL PROTECTED])
+//
+// Copyright 2006 Novell, Inc
+//
+
+//
+// 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.
+//
+#if NET_2_0
+using System.Windows.Forms;
+using System.Collections;
+
+namespace System.ComponentModel.Design
+{
+ public class DesignerActionTextItem : DesignerActionItem
+ {
+ public DesignerActionTextItem (string displayName, string
category)
+ {
+ this.display_name = displayName;
+ this.category = category;
+ }
+ }
+}
+#endif
Property changes on:
trunk/mcs/class/System.Design/System.ComponentModel.Design/DesignerActionTextItem.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/class/System.Design/System.Design.dll.sources
===================================================================
--- trunk/mcs/class/System.Design/System.Design.dll.sources 2007-01-12
23:12:14 UTC (rev 70942)
+++ trunk/mcs/class/System.Design/System.Design.dll.sources 2007-01-13
03:00:31 UTC (rev 70943)
@@ -5,6 +5,13 @@
System.ComponentModel.Design/ArrayEditor.cs
System.ComponentModel.Design/BinaryEditor.cs
System.ComponentModel.Design/CollectionEditor.cs
+System.ComponentModel.Design/DesignerActionHeaderItem.cs
+System.ComponentModel.Design/DesignerActionItem.cs
+System.ComponentModel.Design/DesignerActionItemCollection.cs
+System.ComponentModel.Design/DesignerActionList.cs
+System.ComponentModel.Design/DesignerActionMethodItem.cs
+System.ComponentModel.Design/DesignerActionPropertyItem.cs
+System.ComponentModel.Design/DesignerActionTextItem.cs
System.ComponentModel.Design/DisplayMode.cs
System.ComponentModel.Design/ByteViewer.cs
System.ComponentModel.Design/ComponentDesigner.cs
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches