Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
core
ElectronMainMenuFactory
Class ElectronMainMenuFactory
Hierarchy
BrowserMainMenuFactory
ElectronMainMenuFactory
Index
Constructors
constructor
Properties
_menu
_toggled
Commands
command
Registry
context
context
Key
Service
core
Preferences
keybinding
Registry
menu
Command
Executor
menu
Provider
preferences
Service
Accessors
services
Methods
accelerator
For
create
Context
Menu
create
Electron
Context
Menu
create
Electron
Menu
Bar
create
Menu
Bar
create
Menu
Command
Registry
create
Menu
Widget
createOSXMenu
execute
fill
Menu
Bar
fill
Menu
Template
find
Menu
By
Id
post
Construct
register
Menu
role
For
set
Menu
Bar
show
Menu
Bar
undefined
Or
Match
Constructors
constructor
new
Electron
Main
Menu
Factory
(
)
:
ElectronMainMenuFactory
Returns
ElectronMainMenuFactory
Properties
Protected
Optional
_menu
_menu
?:
MenuDto
[]
Protected
_toggled
Commands
_toggled
Commands
:
Set
<
string
>
= ...
Protected
Readonly
command
Registry
command
Registry
:
CommandRegistry
Protected
Readonly
context
context
:
ContextMenuContext
Protected
Readonly
context
Key
Service
context
Key
Service
:
ContextKeyService
Protected
Readonly
core
Preferences
core
Preferences
:
CorePreferences
Protected
Readonly
keybinding
Registry
keybinding
Registry
:
KeybindingRegistry
Protected
Readonly
menu
Command
Executor
menu
Command
Executor
:
MenuCommandExecutor
Protected
Readonly
menu
Provider
menu
Provider
:
MenuModelRegistry
Protected
preferences
Service
preferences
Service
:
PreferenceService
Accessors
Protected
services
get
services
(
)
:
MenuServices
Returns
MenuServices
Methods
Protected
accelerator
For
accelerator
For
(
keybinding
:
Keybinding
)
:
string
Return a user visible representation of a keybinding.
Parameters
keybinding:
Keybinding
Returns
string
create
Context
Menu
create
Context
Menu
(
path
:
MenuPath
, args
?:
unknown
[]
, context
?:
HTMLElement
, contextKeyService
?:
ContextMatcher
)
:
Menu
Parameters
path:
MenuPath
Optional
args:
unknown
[]
Optional
context:
HTMLElement
Optional
contextKeyService:
ContextMatcher
Returns
Menu
create
Electron
Context
Menu
create
Electron
Context
Menu
(
menuPath
:
MenuPath
, args
?:
any
[]
, context
?:
HTMLElement
, contextKeyService
?:
ContextMatcher
)
:
MenuDto
[]
Parameters
menuPath:
MenuPath
Optional
args:
any
[]
Optional
context:
HTMLElement
Optional
contextKeyService:
ContextMatcher
Returns
MenuDto
[]
create
Electron
Menu
Bar
create
Electron
Menu
Bar
(
)
:
undefined
|
MenuDto
[]
Returns
undefined
|
MenuDto
[]
create
Menu
Bar
create
Menu
Bar
(
)
:
MenuBarWidget
Returns
MenuBarWidget
Protected
create
Menu
Command
Registry
create
Menu
Command
Registry
(
menu
:
CompoundMenuNode
, args
?:
unknown
[]
)
:
MenuCommandRegistry
Parameters
menu:
CompoundMenuNode
args:
unknown
[]
= []
Returns
MenuCommandRegistry
create
Menu
Widget
create
Menu
Widget
(
menu
:
CompoundMenuNode
, options
:
BrowserMenuOptions
)
:
DynamicMenuWidget
Parameters
menu:
CompoundMenuNode
options:
BrowserMenuOptions
Returns
DynamicMenuWidget
Protected
createOSXMenu
createOSXMenu
(
)
:
MenuDto
Returns
MenuDto
Protected
execute
execute
(
cmd
:
string
, args
:
any
[]
, menuPath
:
MenuPath
)
:
Promise
<
void
>
Parameters
cmd:
string
args:
any
[]
menuPath:
MenuPath
Returns
Promise
<
void
>
Protected
fill
Menu
Bar
fill
Menu
Bar
(
menuBar
:
MenuBarWidget
)
:
void
Parameters
menuBar:
MenuBarWidget
Returns
void
Protected
fill
Menu
Template
fill
Menu
Template
(
parentItems
:
MenuDto
[]
, menu
:
MenuNode
, args
?:
unknown
[]
, options
:
ElectronMenuOptions
)
:
MenuDto
[]
Parameters
parentItems:
MenuDto
[]
menu:
MenuNode
args:
unknown
[]
= []
options:
ElectronMenuOptions
Returns
MenuDto
[]
find
Menu
By
Id
find
Menu
By
Id
(
items
:
MenuDto
[]
, id
:
string
)
:
undefined
|
MenuDto
Parameters
items:
MenuDto
[]
id:
string
Returns
undefined
|
MenuDto
post
Construct
post
Construct
(
)
:
void
Returns
void
Protected
register
Menu
register
Menu
(
menuCommandRegistry
:
MenuCommandRegistry
, menu
:
MenuNode
, args
:
unknown
[]
)
:
void
Parameters
menuCommandRegistry:
MenuCommandRegistry
menu:
MenuNode
args:
unknown
[]
Returns
void
Protected
role
For
role
For
(
id
:
string
)
:
undefined
|
MenuRole
Parameters
id:
string
Returns
undefined
|
MenuRole
set
Menu
Bar
set
Menu
Bar
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
show
Menu
Bar
show
Menu
Bar
(
menuBar
:
DynamicMenuBarWidget
, preference
:
undefined
|
string
)
:
void
Parameters
menuBar:
DynamicMenuBarWidget
preference:
undefined
|
string
Returns
void
Protected
undefined
Or
Match
undefined
Or
Match
(
contextKeyService
:
ContextMatcher
, expression
?:
string
, context
?:
HTMLElement
)
:
boolean
Parameters
contextKeyService:
ContextMatcher
Optional
expression:
string
Optional
context:
HTMLElement
Returns
boolean
Modules
bulk-
edit
callhierarchy
console
core
Application
Error
Application
Shell
Application
Shell
Layout
Migration
Error
Application
Shell
Mouse
Tracker
Array
Utils
Badge
Widget
Binary
Buffer
Readable
Binary
Buffer
Readable
Buffered
Stream
Binary
Buffer
Readable
Stream
Binary
Buffer
Writeable
Stream
Bindable
CSSIcon
Cancellation
Token
Color
Command
Command
Menu
Node
Common
Commands
Common
Menus
Composite
Tree
Element
Composite
Tree
Element
Node
Composite
Tree
Node
Compound
Menu
Node
Console
Logger
Context
Key
Decorated
Tree
Node
Decoration
Style
Default
Json
Schema
Contribution
Description
Widget
Dialog
Dialog
Error
Diff
Uris
Disposable
Disposable
Group
Dynamic
Toolbar
Widget
Electron
Commands
Electron
Main
Process
Argv
Electron
Menus
Electron
Messaging
Service
Electron
Text
Input
Context
Menu
Endpoint
Event
Event
Listener
Object
Expandable
Tree
Node
Extractable
Widget
File
Uri
Focusable
Tree
Selection
Frontend
Application
Preference
Config
Fuzzy
Search
Hover
Position
IPCEntry
Point
Iterators
Key
Key
Code
Key
Modifier
Key
Sequence
Keybinding
Keybinding
Contexts
Keybinding
Registry
Keybinding
Scope
Keyboard
Commands
Keys
Or
Key
Codes
Label
Icon
Localization
Log
Level
Markdown
String
Menu
Action
Menu
Toolbar
Item
Messaging
Contribution
Messaging
Service
Mock
Tree
Model
Navigatable
Navigatable
Widget
Navigatable
Widget
Options
OS
On
Will
Stop
Action
Override
Preference
Name
Path
Preference
Data
Property
Preference
Provider
Data
Change
Preference
Schema
Preference
Schema
Properties
Preference
Scope
Prioritizeable
Progress
Message
Quick
Input
Button
Quick
Pick
Item
Quick
Pick
Separator
Raw
Keybinding
Readable
Resource
Resource
Error
Saveable
Saveable
Widget
Scrollable
Tab
Bar
Search
Box
Search
Box
Debounce
Options
Search
Box
Props
Selectable
Tree
Node
Selection
Command
Handler
Severity
Shell
Layout
Restorer
Side
Panel
Special
Cases
Stateful
Widget
Styles
Tab
Bar
Delegator
Tab
Bar
Toolbar
Tab
Bar
Toolbar
Item
Text
Document
Content
Change
Delta
Theia
Dock
Panel
Theia
RendererAPI
Tree
Element
Node
Tree
Iterator
Tree
Model
Impl
Tree
Node
Tree
Selection
Tree
Selection
Service
Impl
Tree
Source
Node
Tree
Widget
Tree
Widget
Selection
URIIcon
Reference
Unsafe
Widget
Utilities
Uri
Aware
Command
Handler
Uri
Selection
View
Container
View
Container
Layout
View
Container
Part
Wait
Until
Event
Widget
Decoration
Window
Commands
Zoom
Level
nls
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Electron
Main
Menu
Factory
constructor
_menu
_toggled
Commands
command
Registry
context
context
Key
Service
core
Preferences
keybinding
Registry
menu
Command
Executor
menu
Provider
preferences
Service
services
accelerator
For
create
Context
Menu
create
Electron
Context
Menu
create
Electron
Menu
Bar
create
Menu
Bar
create
Menu
Command
Registry
create
Menu
Widget
createOSXMenu
execute
fill
Menu
Bar
fill
Menu
Template
find
Menu
By
Id
post
Construct
register
Menu
role
For
set
Menu
Bar
show
Menu
Bar
undefined
Or
Match
Return a user visible representation of a keybinding.