Search
Preparing search index...
The search index is not available
tabby-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tabby-core
CommandService
Class CommandService
Hierarchy
CommandService
Index
Constructors
constructor
Properties
context
Menu
Providers
hotkey
Providers
last
Command
showing
Selector
Methods
get
Commands
get
Commands
With
Contexts
run
show
Selector
Constructors
constructor
new
Command
Service
(
selector
:
SelectorService
, config
:
ConfigService
, app
:
AppService
, translate
:
TranslateService
, contextMenuProviders
:
null
|
TabContextMenuItemProvider
[]
, toolbarButtonProviders
:
ToolbarButtonProvider
[]
, commandProviders
:
CommandProvider
[]
, hotkeys
:
HotkeysService
)
:
CommandService
Parameters
selector:
SelectorService
config:
ConfigService
app:
AppService
translate:
TranslateService
contextMenuProviders:
null
|
TabContextMenuItemProvider
[]
toolbarButtonProviders:
ToolbarButtonProvider
[]
commandProviders:
CommandProvider
[]
hotkeys:
HotkeysService
Returns
CommandService
Properties
Protected
context
Menu
Providers
context
Menu
Providers
:
null
|
TabContextMenuItemProvider
[]
Private
hotkey
Providers
hotkey
Providers
:
Map
<
string
,
Set
<
CommandProvider
>
>
= ...
Private
last
Command
last
Command
:
Promise
<
void
>
= ...
Private
showing
Selector
showing
Selector
:
boolean
= false
Methods
get
Commands
get
Commands
(
context
:
CommandContext
)
:
Promise
<
Command
[]
>
Parameters
context:
CommandContext
Returns
Promise
<
Command
[]
>
get
Commands
With
Contexts
get
Commands
With
Contexts
(
context
:
CommandContext
[]
)
:
Promise
<
Command
[]
>
Parameters
context:
CommandContext
[]
Returns
Promise
<
Command
[]
>
run
run
(
id
:
string
, context
:
CommandContext
)
:
Promise
<
void
>
Parameters
id:
string
context:
CommandContext
Returns
Promise
<
void
>
show
Selector
show
Selector
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Exports
Command
Service
constructor
context
Menu
Providers
hotkey
Providers
last
Command
showing
Selector
get
Commands
get
Commands
With
Contexts
run
show
Selector
Generated using
TypeDoc