Skip to main content

ShortcutStore

Extends

Constructors

Constructor

new ShortcutStore(): ShortcutStore;

Returns

ShortcutStore

Overrides

AbstractStore.constructor

Properties

PropertyTypeInherited from
handlersShortcutHandler<Shortcut<ShortcutHandler<any, ShortcutHandlerOptions>>, ShortcutHandlerOptions>[]-
loggerLoggerAbstractStore.logger

Accessors

dialogStore


initialized

Inherited from

AbstractStore.initialized


name

Get Signature

get name(): string;
Returns

string

Inherited from

AbstractStore.name


showKeyCommandDialog

Methods

getAllPossibleActions()

getAllPossibleActions(): PossibleShortcutAction[];

Returns

PossibleShortcutAction[]


getAllShortcuts()

getAllShortcuts(): Shortcut<ShortcutHandler<any, ShortcutHandlerOptions>>[];

Returns

Shortcut<ShortcutHandler<any, ShortcutHandlerOptions>>[]


getControls()

getControls(): AbstractSetting<AbstractSettingOptions>[];

Returns

AbstractSetting<AbstractSettingOptions>[]

Inherited from

AbstractStore.getControls


getExportedShortcutsURL()

getExportedShortcutsURL(): string;

Returns

string


getHandler()

getHandler<T>(key): T;

Type Parameters

Type Parameter
T extends ShortcutHandler<Shortcut<ShortcutHandler<any, ShortcutHandlerOptions>>, ShortcutHandlerOptions>

Parameters

ParameterType
keystring

Returns

T


importShortcuts()

importShortcuts(): Promise<boolean>;

Returns

Promise<boolean>


init()

init(): Promise<void>;

Returns

Promise<void>

Inherited from

AbstractStore.init


isInitialized()

isInitialized(): boolean;

Returns

boolean


registerHandler()

registerHandler(handler): void;

Parameters

ParameterType
handlerShortcutHandler

Returns

void


reset()

reset(): Promise<void>;

Returns

Promise<void>


save()

save(): Promise<void>;

Returns

Promise<void>


setLogger()

setLogger(logger): void;

Parameters

ParameterType
loggerLogger

Returns

void

Inherited from

AbstractStore.setLogger


showShortcutDialog()

showShortcutDialog(action): Promise<ShortcutChord>;

Parameters

ParameterType
actionShortcutHandlerAction

Returns

Promise<ShortcutChord>


waitForReady()

waitForReady(): Promise<void>;

Returns

Promise<void>

Inherited from

AbstractStore.waitForReady