Index: src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs (.../MenuItemToolStripMenuItemAdapter.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs (.../MenuItemToolStripMenuItemAdapter.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -14,144 +14,207 @@ this.toolStripMenuItem = toolStripMenuItem; } - public IEnumerator GetEnumerator() + public bool Visible { - throw new NotImplementedException(); + get + { + return toolStripMenuItem.Visible; + } + set + { + toolStripMenuItem.Visible = value; + } } - IEnumerator IEnumerable.GetEnumerator() + public int Count { - return GetEnumerator(); + get + { + throw new NotImplementedException(); + } } - public void Add(IMenuItem item) + public bool IsReadOnly { - throw new NotImplementedException(); + get + { + throw new NotImplementedException(); + } } - public void Clear() + public string Name { - throw new NotImplementedException(); + get + { + return toolStripMenuItem.Name; + } + set + { + toolStripMenuItem.Name = value; + } } - public bool Contains(IMenuItem item) + public string Text { - throw new NotImplementedException(); + get + { + return toolStripMenuItem.Text; + } + set + { + toolStripMenuItem.Text = value; + } } - public void CopyTo(IMenuItem[] array, int arrayIndex) + public string Tooltip { - throw new NotImplementedException(); + get + { + return ""; + } + set {} } - public bool Remove(IMenuItem item) + public string Category { - throw new NotImplementedException(); + get + { + return ""; + } + set {} } - public int Count + public string Shortcut { - get { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } - public bool IsReadOnly + public bool Enabled { - get { throw new NotImplementedException(); } + get + { + return toolStripMenuItem.Enabled; + } + set + { + toolStripMenuItem.Enabled = value; + } } - public int IndexOf(IMenuItem item) + public IList ActiveForViews { - throw new NotImplementedException(); + get + { + throw new NotImplementedException(); + } } - public void Insert(int index, IMenuItem item) + public ICommand Command { - throw new NotImplementedException(); + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } - public void RemoveAt(int index) + public IEnumerator GetEnumerator() { throw new NotImplementedException(); } - IMenuItem IList.this[int index] + IEnumerator IEnumerable.GetEnumerator() { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + return GetEnumerator(); } - IMenuItem IMenuItemCollection.this[string name] + public void Add(IMenuItem item) { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + throw new NotImplementedException(); } - public int IndexOf(string name) + public void Clear() { throw new NotImplementedException(); } - public void InsertAfter(string name, IMenuItem item) + public bool Contains(IMenuItem item) { throw new NotImplementedException(); } - public void InsertBefore(string name, IMenuItem item) + public void CopyTo(IMenuItem[] array, int arrayIndex) { throw new NotImplementedException(); } - public string Name + public bool Remove(IMenuItem item) { - get { return toolStripMenuItem.Name; } - set { toolStripMenuItem.Name = value; } + throw new NotImplementedException(); } - public string Text + public int IndexOf(IMenuItem item) { - get { return toolStripMenuItem.Text; } - set { toolStripMenuItem.Text = value; } + throw new NotImplementedException(); } - public string Tooltip + public void Insert(int index, IMenuItem item) { - get { return ""; } - set { } + throw new NotImplementedException(); } - public string Category + public void RemoveAt(int index) { - get { return ""; } - set { } + throw new NotImplementedException(); } - public string Shortcut + public int IndexOf(string name) { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + throw new NotImplementedException(); } - public bool Enabled + public void InsertAfter(string name, IMenuItem item) { - get { return toolStripMenuItem.Enabled; } - set { toolStripMenuItem.Enabled = value; } + throw new NotImplementedException(); } - public bool Visible + public void InsertBefore(string name, IMenuItem item) { - get { return toolStripMenuItem.Visible; } - set { toolStripMenuItem.Visible = value; } + throw new NotImplementedException(); } - public IList ActiveForViews + IMenuItem IList.this[int index] { - get { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } - public ICommand Command + IMenuItem IMenuItemCollection.this[string name] { - get { throw new NotImplementedException(); } - set { throw new NotImplementedException(); } + get + { + throw new NotImplementedException(); + } + set + { + throw new NotImplementedException(); + } } } } \ No newline at end of file