C# Class Treefrog.Windows.Controllers.CommandMenuBuilder

Datei anzeigen Open project: jaquadro/Treefrog

Public Methods

Method Description
BuildContextMenu ( CommandMenu menu ) : ContextMenuStrip
BuildContextMenu ( CommandMenu menu, CommandRegistry registry ) : ContextMenuStrip
BuildToolStripMenu ( CommandMenu menu ) : ToolStripMenuItem
BuildToolStripMenu ( CommandMenu menu, CommandRegistry registry ) : ToolStripMenuItem

Private Methods

Method Description
PopulateItems ( ToolStripItemCollection items, IEnumerable groups, CommandRegistry registry ) : void

Method Details

BuildContextMenu() public static method

public static BuildContextMenu ( CommandMenu menu ) : ContextMenuStrip
menu CommandMenu
return System.Windows.Forms.ContextMenuStrip

BuildContextMenu() public static method

public static BuildContextMenu ( CommandMenu menu, CommandRegistry registry ) : ContextMenuStrip
menu CommandMenu
registry CommandRegistry
return System.Windows.Forms.ContextMenuStrip

BuildToolStripMenu() public static method

public static BuildToolStripMenu ( CommandMenu menu ) : ToolStripMenuItem
menu CommandMenu
return System.Windows.Forms.ToolStripMenuItem

BuildToolStripMenu() public static method

public static BuildToolStripMenu ( CommandMenu menu, CommandRegistry registry ) : ToolStripMenuItem
menu CommandMenu
registry CommandRegistry
return System.Windows.Forms.ToolStripMenuItem