C# Class Treefrog.Windows.Controllers.UICommandController

Inheritance: IDisposable
ファイルを表示 Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
BindCommandManager ( CommandManager commandManager ) : void
Clear ( ) : void
Dispose ( ) : void
MapButtons ( ToolStripButton>.IEnumerable mappings ) : void
MapMenuItems ( ToolStripMenuItem>.IEnumerable mappings ) : void
MapMenuItems ( IEnumerable items ) : void
MapMenuItems ( ToolStripItemCollection items ) : void

Private Methods

Method Description
BoundButtonClickHandler ( object sender, EventArgs e ) : void
BoundMenuClickHandler ( object sender, EventArgs e ) : void
CanPerformCommand ( CommandKey key, object param ) : bool
Dispose ( bool disposing ) : void
HandleCommandInvalidated ( object sender, CommandSubscriberEventArgs e ) : void
HandleManagerInvalidated ( object sender, EventArgs e ) : void
Invalidate ( CommandKey key ) : void
IsCommandSelected ( CommandKey key ) : bool
MapMenuItem ( CommandKey key, ToolStripMenuItem item ) : void
PerformCommand ( CommandKey key, object param ) : void
ResetComponent ( ) : void
TagValueFromItem ( ToolStripButton item ) : object
TagValueFromItem ( ToolStripMenuItem item ) : object

Method Details

BindCommandManager() public method

public BindCommandManager ( CommandManager commandManager ) : void
commandManager Treefrog.Presentation.Commands.CommandManager
return void

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

MapButtons() public method

public MapButtons ( ToolStripButton>.IEnumerable mappings ) : void
mappings ToolStripButton>.IEnumerable
return void

MapMenuItems() public method

public MapMenuItems ( ToolStripMenuItem>.IEnumerable mappings ) : void
mappings ToolStripMenuItem>.IEnumerable
return void

MapMenuItems() public method

public MapMenuItems ( IEnumerable items ) : void
items IEnumerable
return void

MapMenuItems() public method

public MapMenuItems ( ToolStripItemCollection items ) : void
items System.Windows.Forms.ToolStripItemCollection
return void