API Status: Development
Optional mixin type used to extend a bajaux Command with extra functionality used by
a Manager view. Commands don't need to apply this mixin to be functional in a bajaux
Manager, this can just provide additional behavior to any Command that requires it.
Methods
-
isShownInActionBar()
-
Returns a Boolean indicating whether this
Commandshould be shown in the 'action bar'
at the bottom of the manager view. Defaults totrue.Returns:
- Type
- Boolean
-
setShowInActionBar(show)
-
Set whether this
Commandshould be shown in the 'action bar' at the bottom of the
manager view. The default behavior is to show all commands in the manager's command
group at the bottom of the view. If called, it will typically be with afalseargument
show the command in the tool bar, but not in the main view.Parameters:
Name Type Description showBoolean true if this instance should be shown in the manager's action bar.