Skip to main content

ResetPreferencesAction

Extends

Constructors

Constructor

new ResetPreferencesAction(): ResetPreferencesAction;

Returns

ResetPreferencesAction

Overrides

Action.constructor

Properties

PropertyTypeInherited from
actionStoreActionStoreAction.actionStore
optionsActionOptionsAction.options

Accessors

dialogStore

Inherited from

Action.dialogStore


group

Get Signature

get group(): string;
Returns

string

Inherited from

Action.group


id

Get Signature

get id(): string;
Returns

string

Inherited from

Action.id


prefsStore


visorStore

Inherited from

Action.visorStore


workspaceStore

Methods

fireAction()

fireAction(event): Promise<boolean | void>;

Parameters

ParameterType
eventOmit<T["EVENT"], "id">

Returns

Promise<boolean | void>

Inherited from

Action.fireAction


fireEvent()

fireEvent(event): Promise<any>;

Parameters

ParameterType
eventActionEvent

Returns

Promise<any>

Overrides

Action.fireEvent

getExclusiveExecutionLock()

getExclusiveExecutionLock(event?): () => any;

Parameters

ParameterType
event?{ allowed?: (e) => boolean; }
event.allowed?(e) => boolean

Returns

() => any

Inherited from

Action.getExclusiveExecutionLock


getTypeDisplayName()

getTypeDisplayName(): string;

Returns

string

Inherited from

Action.getTypeDisplayName


renderAsButton()

renderAsButton(render, extraData?): Element;

Parameters

ParameterType
render(btn) => Element
extraDataPartial<T["EVENT"]>

Returns

Element

Inherited from

Action.renderAsButton


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

ParameterType
extraDataPartial<T["EVENT"]>

Returns

Btn

Inherited from

Action.representAsButton


representAsComboBoxItem()

representAsComboBoxItem(options?): ActionComboBoxItem<ResetPreferencesAction>;

Parameters

ParameterType
options{ eventData?: Partial<T["EVENT"]>; installAction: boolean; }
options.eventData?Partial<T["EVENT"]>
options.installActionboolean

Returns

ActionComboBoxItem<ResetPreferencesAction>

Inherited from

Action.representAsComboBoxItem


representAsControl()

representAsControl(options?): any;

Parameters

ParameterType
options{ eventData?: Partial<T["EVENT"]>; }
options.eventData?Partial<T["EVENT"]>

Returns

any

Inherited from

Action.representAsControl


representAsIcon()

representAsIcon(extraData?): Btn;

Parameters

ParameterType
extraDataPartial<T["EVENT"]>

Returns

Btn

Inherited from

Action.representAsIcon


serialize()

serialize(): SerializedAction;

Returns

SerializedAction

Inherited from

Action.serialize


setActionStore()

setActionStore(store): void;

Parameters

ParameterType
storeActionStore

Returns

void

Inherited from

Action.setActionStore


validate()

validate(event?): ValidationResult;

Parameters

ParameterType
eventPartial<T["EVENT"]>

Returns

ValidationResult

Inherited from

Action.validate