Expand all

abstract ve.ui.WindowTool

Extends

Constructor

new ve.ui.WindowTool(toolGroup, [config])abstract #

Parameters:

Name Type Attributes Description
toolGroup OO.ui.ToolGroup
config Object optional

Configuration options

Source:
UserInterface dialog tool.

Properties

associatedWindowsstatic #

Name of the associated windows, if there is more than one possible value, or if it can't be deduced from the tool's command.

Properties:

Type Description
Array.<string>
Source:

Name of the associated windows, if there is more than one possible value, or if it can't be deduced from the tool's command.

Methods

getCommand() → {ve.ui.Command|null|undefined} #

Get the command for this tool.

Inherited from:
Source:

Returns:

Undefined means command not found, null means no command set

Type
ve.ui.Command | null | undefined
Get the command for this tool.

onSelect() #

onUpdateState(fragment, direction) #

Handle the toolbar state being updated.

Parameters:

Name Type Description
fragment ve.dm.SurfaceFragment | null

Surface fragment

direction Object | null

Context direction with 'inline' & 'block' properties

Overrides:
Source:
Handle the toolbar state being updated.