ResetPreferencesAction
Extends
Constructors
Constructor
new ResetPreferencesAction(): ResetPreferencesAction;
Returns
ResetPreferencesAction
Overrides
Properties
| Property | Type | Inherited from |
|---|---|---|
actionStore | ActionStore | Action.actionStore |
options | ActionOptions | Action.options |
Accessors
dialogStore
Inherited from
group
Get Signature
get group(): string;
Returns
string
Inherited from
id
Get Signature
get id(): string;
Returns
string
Inherited from
prefsStore
visorStore
Inherited from
workspaceStore
Methods
fireAction()
fireAction(event): Promise<boolean | void>;
Parameters
| Parameter | Type |
|---|---|
event | Omit<T["EVENT"], "id"> |
Returns
Promise<boolean | void>
Inherited from
fireEvent()
fireEvent(event): Promise<any>;
Parameters
| Parameter | Type |
|---|---|
event | ActionEvent |
Returns
Promise<any>
Overrides
Action.fireEvent
getExclusiveExecutionLock()
getExclusiveExecutionLock(event?): () => any;
Parameters
| Parameter | Type |
|---|---|
event? | { allowed?: (e) => boolean; } |
event.allowed? | (e) => boolean |
Returns
() => any
Inherited from
Action.getExclusiveExecutionLock
getTypeDisplayName()
getTypeDisplayName(): string;
Returns
string
Inherited from
renderAsButton()
renderAsButton(render, extraData?): Element;
Parameters
| Parameter | Type |
|---|---|
render | (btn) => Element |
extraData | Partial<T["EVENT"]> |
Returns
Element
Inherited from
representAsButton()
representAsButton(extraData?): Btn;
Create a button representation of this action.
The button carries a live validation function, so consumers that render a Btn directly get the same dynamic enabled/disabled behavior as action controls.
Parameters
| Parameter | Type |
|---|---|
extraData | Partial<T["EVENT"]> |
Returns
Inherited from
representAsComboBoxItem()
representAsComboBoxItem(options?): ActionComboBoxItem<ResetPreferencesAction>;
Parameters
| Parameter | Type |
|---|---|
options | { eventData?: Partial<T["EVENT"]>; installAction: boolean; } |
options.eventData? | Partial<T["EVENT"]> |
options.installAction | boolean |
Returns
ActionComboBoxItem<ResetPreferencesAction>
Inherited from
Action.representAsComboBoxItem
representAsControl()
representAsControl(options?): any;
Parameters
| Parameter | Type |
|---|---|
options | { eventData?: Partial<T["EVENT"]>; } |
options.eventData? | Partial<T["EVENT"]> |
Returns
any
Inherited from
representAsIcon()
representAsIcon(extraData?): Btn;
Parameters
| Parameter | Type |
|---|---|
extraData | Partial<T["EVENT"]> |
Returns
Inherited from
serialize()
serialize(): SerializedAction;
Returns
Inherited from
setActionStore()
setActionStore(store): void;
Parameters
| Parameter | Type |
|---|---|
store | ActionStore |
Returns
void
Inherited from
validate()
validate(event?): ValidationResult;
Parameters
| Parameter | Type |
|---|---|
event | Partial<T["EVENT"]> |