Index: src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -r2d05e18d1fcde2d8d00d2434a6e560d65337d2f7 --- src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs (.../MenuItemToolStripMenuItemAdapter.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Controls.Swf/MenuItemToolStripMenuItemAdapter.cs (.../MenuItemToolStripMenuItemAdapter.cs) (revision 2d05e18d1fcde2d8d00d2434a6e560d65337d2f7) @@ -7,23 +7,9 @@ { internal class MenuItemToolStripMenuItemAdapter : IMenuItem { - private readonly ToolStripMenuItem toolStripMenuItem; - public MenuItemToolStripMenuItemAdapter(ToolStripMenuItem toolStripMenuItem) { - this.toolStripMenuItem = toolStripMenuItem; - } - public bool Visible - { - get - { - return toolStripMenuItem.Visible; - } - set - { - toolStripMenuItem.Visible = value; - } } public int Count @@ -42,92 +28,6 @@ } } - public string Name - { - get - { - return toolStripMenuItem.Name; - } - set - { - toolStripMenuItem.Name = value; - } - } - - public string Text - { - get - { - return toolStripMenuItem.Text; - } - set - { - toolStripMenuItem.Text = value; - } - } - - public string Tooltip - { - get - { - return ""; - } - set {} - } - - public string Category - { - get - { - return ""; - } - set {} - } - - public string Shortcut - { - get - { - throw new NotImplementedException(); - } - set - { - throw new NotImplementedException(); - } - } - - public bool Enabled - { - get - { - return toolStripMenuItem.Enabled; - } - set - { - toolStripMenuItem.Enabled = value; - } - } - - public IList ActiveForViews - { - get - { - throw new NotImplementedException(); - } - } - - public ICommand Command - { - get - { - throw new NotImplementedException(); - } - set - { - throw new NotImplementedException(); - } - } - public IEnumerator GetEnumerator() { throw new NotImplementedException(); @@ -178,21 +78,6 @@ throw new NotImplementedException(); } - public int IndexOf(string name) - { - throw new NotImplementedException(); - } - - public void InsertAfter(string name, IMenuItem item) - { - throw new NotImplementedException(); - } - - public void InsertBefore(string name, IMenuItem item) - { - throw new NotImplementedException(); - } - IMenuItem IList.this[int index] { get @@ -204,17 +89,5 @@ throw new NotImplementedException(); } } - - IMenuItem IMenuItemCollection.this[string name] - { - get - { - throw new NotImplementedException(); - } - set - { - throw new NotImplementedException(); - } - } } } \ No newline at end of file