Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1433085
ve.ui.MWChemContextItem.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ve.ui.MWChemContextItem.js
View Options
/*!
* VisualEditor MWChemContextItem class.
*
* @copyright See AUTHORS.txt
*/
/**
* Context item for a chem node.
*
* @class
* @extends ve.ui.MWLatexContextItem
*
* @param {ve.ui.LinearContext} context Context the item is in
* @param {ve.dm.Model} model Model the item is related to
* @param {Object} config Configuration options
*/
ve
.
ui
.
MWChemContextItem
=
function
VeUiMWChemContextItem
()
{
// Parent constructor
ve
.
ui
.
MWChemContextItem
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ui
.
MWChemContextItem
,
ve
.
ui
.
MWLatexContextItem
);
/* Static Properties */
ve
.
ui
.
MWChemContextItem
.
static
.
name
=
'chem'
;
ve
.
ui
.
MWChemContextItem
.
static
.
icon
=
'labFlask'
;
ve
.
ui
.
MWChemContextItem
.
static
.
label
=
OO
.
ui
.
deferMsg
(
'math-visualeditor-mwchemdialog-title'
);
ve
.
ui
.
MWChemContextItem
.
static
.
modelClasses
=
[
ve
.
dm
.
MWChemNode
];
ve
.
ui
.
MWChemContextItem
.
static
.
embeddable
=
false
;
ve
.
ui
.
MWChemContextItem
.
static
.
commandName
=
'chemDialog'
;
ve
.
ui
.
MWChemContextItem
.
static
.
inlineEditCommand
=
'chemInspector'
;
/* Registration */
ve
.
ui
.
contextItemFactory
.
register
(
ve
.
ui
.
MWChemContextItem
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 22:38 (2 h, 6 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
fc/e4/e5bf2003b73ec77e31f1c0fe5bbe
Default Alt Text
ve.ui.MWChemContextItem.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment