2017-01-11 21:50:35 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor UserInterface MWChemInspector class.
|
|
|
|
*
|
2024-03-19 18:37:26 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2018-04-13 14:04:06 +00:00
|
|
|
* @license MIT
|
2017-01-11 21:50:35 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* MediaWiki chem inspector.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends ve.ui.MWLiveExtensionInspector
|
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {Object} [config] Configuration options
|
|
|
|
*/
|
|
|
|
ve.ui.MWChemInspector = function VeUiMWChemInspector( config ) {
|
|
|
|
// Parent constructor
|
|
|
|
ve.ui.MWChemInspector.super.call( this, config );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ui.MWChemInspector, ve.ui.MWLatexInspector );
|
|
|
|
|
|
|
|
/* Static properties */
|
|
|
|
|
|
|
|
ve.ui.MWChemInspector.static.name = 'chemInspector';
|
|
|
|
|
|
|
|
ve.ui.MWChemInspector.static.title = OO.ui.deferMsg( 'math-visualeditor-mwchemdialog-title' );
|
|
|
|
|
|
|
|
ve.ui.MWChemInspector.static.modelClasses = [ ve.dm.MWChemNode ];
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
|
|
|
ve.ui.windowFactory.register( ve.ui.MWChemInspector );
|