Class. Command Palette
protectedautoCompleteResult:AutocompleteResult
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:51
protectedcontainerElement:HTMLElement
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:47
AbstractUIExtension.containerElement
protectedoptionalcontextActions:LabeledAction[]
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:53
protecteddebounceWaitMs:number=100
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:46
protecteddefaultWidth:number=400
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:45
protecteddomHelper:DOMHelper
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:58
protectedinputElement:HTMLInputElement
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:49
protectedloadingIndicator:HTMLSpanElement
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:50
protectedloadingIndicatorClasses:string[]
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:42
protectedlogger:ILogger
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:45
protectedmousePositionTracker:MousePositionTracker
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:59
protectednoCommandsMsg:string="No commands available"
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:47
protectedoptions:ViewerOptions
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:44
protectedpaletteIndex:number=0
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:52
protectedviewerOptions:ViewerOptions
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:57
protectedxOffset:number=20
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:43
protectedyOffset:number=20
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:44
readonlystaticID:"command-palette"="command-palette"
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:39
protectedautocompleteSettings(root):AutocompleteSettings<LabeledAction>
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:114
Readonly<SModelRootImpl>
AutocompleteSettings<LabeledAction>
containerClass():
string
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:62
string
AbstractUIExtension.containerClass
protectedcustomizeSuggestionContainer(container,inputRect,maxHeight):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:208
HTMLDivElement
DOMRect | ClientRect
number
void
protectedcycle():void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:91
void
protectedcylceIfInvokePaletteKey(event):any
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:87
KeyboardEvent
any
protectedexecuteAction(input):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:223
LabeledAction | Action | Action[]
void
protectedfilterActions(filterText,actions):LabeledAction[]
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:200
string
protectedgetCodicon(iconId):string
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:196
string
string
protectedgetFontAwesomeIcon(iconId):string
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:192
string
string
protectedgetOrCreateContainer(baseDivId):HTMLElement
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:89
string
HTMLElement
AbstractUIExtension.getOrCreateContainer
hide():
void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:216
void
protectedhideIfEscapeEvent(event):any
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:83
KeyboardEvent
any
id():
string
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:61
string
protectedinitialize():boolean
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:75
boolean
AbstractUIExtension.initialize
protectedinitializeContents(containerElement):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:73
Initializes the contents of this UI extension.
Subclasses must implement this method to initialize the UI elements of this UI extension inside the specified containerElement.
HTMLElement
void
AbstractUIExtension.initializeContents
protectedonBeforeShow(containerElement,root, …selectedElementIds):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:96
Updates the containerElement under the given context before it becomes visible.
Subclasses may override this method to, for instance, modifying the position of the
containerElement, add or remove elements, etc. depending on the specified root
or contextElementIds.
HTMLElement
Readonly<SModelRootImpl>
…string[]
void
AbstractUIExtension.onBeforeShow
protectedonLoaded(success):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:167
"success" | "error"
void
protectedonLoading():void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:158
void
protectedonSelect(item):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:133
void
protectedrenderIcon(itemElement,iconId):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:188
HTMLDivElement
string
void
protectedrenderLabeledActionSuggestion(item,value):HTMLDivElement
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:173
string
HTMLDivElement
protectedrestoreFocus():void
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:68
void
AbstractUIExtension.restoreFocus
protectedsetContainerVisible(visible):void
Defined in: packages/sprotty/src/base/ui-extensions/ui-extension.ts:99
boolean
void
AbstractUIExtension.setContainerVisible
show(
root, …contextElementIds):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:64
Readonly<SModelRootImpl>
…string[]
void
protectedupdateAutoCompleteActions(update,text,root):void
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:138
(items) => void
string
Readonly<SModelRootImpl>
void
readonlystaticisInvokePaletteKey(event):boolean
Defined in: packages/sprotty/src/features/command-palette/command-palette.ts:40
KeyboardEvent
boolean