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 bajauxManager
, this can just provide additional behavior to any Command
that requires it.
Methods
-
isShownInActionBar()
-
Returns a Boolean indicating whether this
Command
should be shown in the 'action bar'
at the bottom of the manager view. Defaults totrue
.Returns:
- Type
- Boolean
-
setShowInActionBar(show)
-
Set whether this
Command
should 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 afalse
argument
show the command in the tool bar, but not in the main view.Parameters:
Name Type Description show
Boolean true if this instance should be shown in the manager's action bar.