Class mindmaps.ToolBarPresenter
Defined in: ToolBar.js.
Constructor Attributes | Constructor Name and Description |
---|---|
mindmaps.ToolBarPresenter(eventBus, commandRegistry, view, mindmapModel)
Creates a new ToolBarPresenter.
|
Method Attributes | Method Name and Description |
---|---|
<inner> |
commandToButton(commandType)
Returns a button that registers with a command of the given commandType
|
Class Detail
mindmaps.ToolBarPresenter(eventBus, commandRegistry, view, mindmapModel)
Creates a new ToolBarPresenter.
- Parameters:
- {mindmaps.EventBus} eventBus
- {mindmaps.CommandRegistry} commandRegistry
- {mindmaps.ToolBarView} view
- {mindmaps.MindMapModel} mindmapModel
Method Detail
<inner>
{mindmaps.ToolBarButton}
commandToButton(commandType)
Returns a button that registers with a command of the given commandType
- Parameters:
- {mindmaps.Command} commandType
- Returns:
- {mindmaps.ToolBarButton}