Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
core
MenuCommandAdapter
Interface MenuCommandAdapter
interface
MenuCommandAdapter
{
canHandle
(
...
args
)
:
number
;
executeCommand
(
...
args
)
:
Promise
<
unknown
>
;
isEnabled
(
...
args
)
:
boolean
;
isToggled
(
...
args
)
:
boolean
;
isVisible
(
...
args
)
:
boolean
;
}
Hierarchy (
view full
)
MenuCommandExecutor
MenuCommandAdapter
Index
Methods
can
Handle
execute
Command
is
Enabled
is
Toggled
is
Visible
Methods
can
Handle
can
Handle
(
...
args
)
:
number
Return values less than or equal to 0 are treated as rejections.
Parameters
Rest
...
args
:
MenuCommandArguments
Returns
number
execute
Command
execute
Command
(
...
args
)
:
Promise
<
unknown
>
Parameters
Rest
...
args
:
MenuCommandArguments
Returns
Promise
<
unknown
>
is
Enabled
is
Enabled
(
...
args
)
:
boolean
Parameters
Rest
...
args
:
MenuCommandArguments
Returns
boolean
is
Toggled
is
Toggled
(
...
args
)
:
boolean
Parameters
Rest
...
args
:
MenuCommandArguments
Returns
boolean
is
Visible
is
Visible
(
...
args
)
:
boolean
Parameters
Rest
...
args
:
MenuCommandArguments
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
can
Handle
execute
Command
is
Enabled
is
Toggled
is
Visible
Theia TypeDoc
Loading...
Return values less than or equal to 0 are treated as rejections.