Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2004-06-11 14:06:15 +0400
committerGert Driesen <drieseng@users.sourceforge.net>2004-06-11 14:06:15 +0400
commitbc9d9fc1612562b96eacb03716dddb17b75c2ea3 (patch)
treef204f92d6e12dfc8aab10a0192dd056d96afb554 /mcs/class/System.Design/System.Windows.Forms.Design
parentc4747614740cc787cbe8439080ee4e9121a2bc51 (diff)
* ChangeLog: added, and move entries from changelog in System.Design here
* AxParameterData.cs: stubbed * AxWrapperGen.cs: stubbed * DockEditor.cs: stubbed * EventHandlerService.cs: stubbed svn path=/trunk/mcs/; revision=29306
Diffstat (limited to 'mcs/class/System.Design/System.Windows.Forms.Design')
-rw-r--r--mcs/class/System.Design/System.Windows.Forms.Design/AxParameterData.cs117
-rw-r--r--mcs/class/System.Design/System.Windows.Forms.Design/AxWrapperGen.cs25
-rw-r--r--mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog73
-rw-r--r--mcs/class/System.Design/System.Windows.Forms.Design/DockEditor.cs31
-rw-r--r--mcs/class/System.Design/System.Windows.Forms.Design/EventHandlerService.cs49
5 files changed, 295 insertions, 0 deletions
diff --git a/mcs/class/System.Design/System.Windows.Forms.Design/AxParameterData.cs b/mcs/class/System.Design/System.Windows.Forms.Design/AxParameterData.cs
new file mode 100644
index 00000000000..69600c0c6d7
--- /dev/null
+++ b/mcs/class/System.Design/System.Windows.Forms.Design/AxParameterData.cs
@@ -0,0 +1,117 @@
+//
+// System.Windows.Forms.Design.AxParameterData.cs
+//
+// Author:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System;
+
+namespace System.Windows.Forms.Design
+{
+ public class AxParameterData
+ {
+ [MonoTODO]
+ public AxParameterData (ParameterInfo info) : this (info, false)
+ {
+ }
+
+ [MonoTODO]
+ public AxParameterData (ParameterInfo info, bool ignoreByRefs)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public AxParameterData (string inname, string typeName)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public AxParameterData (string inname, Type type)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static AxParameterData[] Convert (ParameterInfo[] infos)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static AxParameterData[] Convert (ParameterInfo[] infos, bool ignoreByRefs)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public FieldDirection Direction {
+ get {
+ if (this.IsOut)
+ return FieldDirection.Out;
+
+ if (this.IsByRef)
+ return FieldDirection.Ref;
+
+ return FieldDirection.In;
+ }
+ }
+ public bool IsByRef {
+ get {
+ return isByRef;
+ }
+ }
+
+ public bool IsIn {
+ get {
+ return isIn;
+ }
+ }
+
+ public bool IsOptional {
+ get {
+ return isOptional;
+ }
+ }
+
+ public bool IsOut {
+ get {
+ return isOut;
+ }
+ }
+
+ public string Name {
+ get {
+ return name;
+ }
+ [MonoTODO]
+ set {
+ throw new NotImplementedException ();
+ }
+ }
+
+ public Type ParameterType {
+ get {
+ return type;
+ }
+ }
+
+ [MonoTODO]
+ public string TypeName {
+ get {
+ throw new NotImplementedException ();
+ }
+ }
+
+ private bool isByRef;
+ private bool isIn;
+ private bool isOptional;
+ private bool isOut;
+ private string name;
+ private Type type;
+ private string typeName;
+ }
+}
diff --git a/mcs/class/System.Design/System.Windows.Forms.Design/AxWrapperGen.cs b/mcs/class/System.Design/System.Windows.Forms.Design/AxWrapperGen.cs
new file mode 100644
index 00000000000..3e35424c0dd
--- /dev/null
+++ b/mcs/class/System.Design/System.Windows.Forms.Design/AxWrapperGen.cs
@@ -0,0 +1,25 @@
+//
+// System.Windows.Forms.Design.AxWrapperGen.cs
+//
+// Author:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System;
+
+namespace System.Windows.Forms.Design
+{
+ public class AxWrapperGen
+ {
+ [MonoTODO]
+ public AxWrapperGen (Type axType)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public static ArrayList GeneratedSources = new ArrayList ();
+ }
+}
diff --git a/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog b/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog
new file mode 100644
index 00000000000..ba4e1c7946b
--- /dev/null
+++ b/mcs/class/System.Design/System.Windows.Forms.Design/ChangeLog
@@ -0,0 +1,73 @@
+2004-06-11 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * AxParameterData.cs: stubbed
+ * AxWrapperGen.cs: stubbed
+ * DockEditor.cs: stubbed
+ * EventHandlerService.cs: stubbed
+
+2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * IMenuEditorService.cs: fixed signature
+
+2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * DocumentDesigner.cs: stubbed
+ * ParentControlDesigner.cs: stubbed
+ * ScrollableControlDesigner.cs: stubbed
+
+2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * ControlDesigner.cs: stubbed
+
+2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * ISelectionUIHandler.cs: converted linefeeds to unix
+
+2004-05-16 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * ISelectionUIHandler.cs: added
+ * ComponentTray.cs: stubbed
+
+2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * AnchorEditor.cs: fixed public API, line endings to LF
+ * AxImporter.cs: fixed public API, line endings to LF
+ * ComponentDocumentDesigner.cs: fixed public API, line endings
+ to CRLF
+ * SelectionRules.cs: implementation
+
+2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * FileNameEditor.cs: code formatting
+ * FolderNameEditor.cs: code formatting
+ * MenuCommands.cs: code formatting
+
+2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * MenuCommands.cs: added impl
+ * MenusCommands.cs: removed, wrong name
+
+2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * FolderNameEditor.cs: converted to unix linefeeds, marked
+ class TODO, added Flags, attribute to FolderBrowserStyles enum
+ * FileNameEditor.cs: completed stubs
+
+2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
+
+ * FolderNameEditor.cs: added stub
+
+2003-07-07 Martin Willemoes Hansen <mwh@sysrq.dk>
+
+ * AnchorEditor.cs
+ AxImporter.cs
+ ComponentDocumentDesigner.cs
+ ComponentTray.cs
+ ControlDesigner.cs
+ DocumentDesigner.cs
+ FileNameEditor.cs
+ IMenuEditorService.cs
+ MenusCommands.cs
+ ParentControlDesigner.cs
+ ScrollableControlDesigner.cs
+ SelectionRules.cs: Moved here from System.Windows.Forms assembly
diff --git a/mcs/class/System.Design/System.Windows.Forms.Design/DockEditor.cs b/mcs/class/System.Design/System.Windows.Forms.Design/DockEditor.cs
new file mode 100644
index 00000000000..c21f7b19f79
--- /dev/null
+++ b/mcs/class/System.Design/System.Windows.Forms.Design/DockEditor.cs
@@ -0,0 +1,31 @@
+//
+// System.Windows.Forms.Design.DockEditor.cs
+//
+// Author:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System;
+
+namespace System.Windows.Forms.Design
+{
+ public sealed class DockEditor : UITypeEditor
+ {
+ public DockEditor ()
+ {
+ }
+
+ [MonoTODO]
+ public override object EditValue (ITypeDescriptorContext context, IServiceProvider provider, object value)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public override UITypeEditorEditStyle GetEditStyle (ITypeDescriptorContext context)
+ {
+ return UITypeEditorEditStyle.DropDown;
+ }
+ }
+}
diff --git a/mcs/class/System.Design/System.Windows.Forms.Design/EventHandlerService.cs b/mcs/class/System.Design/System.Windows.Forms.Design/EventHandlerService.cs
new file mode 100644
index 00000000000..8dcc9399d4b
--- /dev/null
+++ b/mcs/class/System.Design/System.Windows.Forms.Design/EventHandlerService.cs
@@ -0,0 +1,49 @@
+//
+// System.Windows.Forms.Design.DockEditor.cs
+//
+// Author:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2004 Novell
+//
+
+using System;
+
+namespace System.Windows.Forms.Design
+{
+ public sealed class EventHandlerService : IEventHandlerService
+ {
+ public event EventHandler EventHandlerChanged;
+
+ public EventHandlerService (Control focusWnd)
+ {
+ _focusWnd = focusWnd;
+ }
+
+ [MonoTODO]
+ public object GetHandler (Type handlerType)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void PopHandler (object handler)
+ {
+ throw new NotImplementedException ();
+ }
+
+ [MonoTODO]
+ public void PushHandler (object handler)
+ {
+ throw new NotImplementedException ();
+ }
+
+ public Control FocusWindow {
+ get {
+ return _focusWnd;
+ }
+ }
+
+ private readonly Control _focusWnd;
+ }
+}