Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7397117
ve.ui.MergeCellsCommand.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
ve.ui.MergeCellsCommand.js
View Options
/*!
* VisualEditor UserInterface MergeCellsCommand class.
*
* @copyright See AUTHORS.txt
*/
/**
* UserInterface merge cells command.
*
* @class
* @extends ve.ui.Command
*
* @constructor
*/
ve
.
ui
.
MergeCellsCommand
=
function
VeUiMergeCellsCommand
()
{
// Parent constructor
ve
.
ui
.
MergeCellsCommand
.
super
.
call
(
this
,
'mergeCells'
,
'table'
,
'mergeCells'
,
{
supportedSelections
:
[
'table'
]
}
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ui
.
MergeCellsCommand
,
ve
.
ui
.
Command
);
/* Methods */
/**
* @inheritdoc
*/
ve
.
ui
.
MergeCellsCommand
.
prototype
.
isExecutable
=
function
(
fragment
)
{
// Parent method
return
ve
.
ui
.
MergeCellsCommand
.
super
.
prototype
.
isExecutable
.
apply
(
this
,
arguments
)
&&
fragment
.
getSelection
().
isMergeable
(
fragment
.
getDocument
()
);
};
/* Registration */
ve
.
ui
.
commandRegistry
.
register
(
new
ve
.
ui
.
MergeCellsCommand
()
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 14:29 (7 h, 27 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0f/4f/169bea6d85f3de0fbd5ee6594fc5
Default Alt Text
ve.ui.MergeCellsCommand.js (865 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment