mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
c53685b865
Also removed a few redundant headings in class documentation comments. There is already an @class and it looks a bit odd in the generated pages: <h2>TextString</h2> <p>TextString</p> <p>This class provides a ...</p> Change-Id: Ie311c6993ed02e79272dbde71f6a1bc252ef3037
40 lines
786 B
JavaScript
40 lines
786 B
JavaScript
/*!
|
|
* VisualEditor user interface ContentDialog class.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* Document dialog.
|
|
*
|
|
* @class
|
|
* @abstract
|
|
* @extends ve.ui.Dialog
|
|
*
|
|
* @constructor
|
|
* @param {ve.Surface} surface
|
|
*/
|
|
ve.ui.ContentDialog = function VeUiContentDialog( surface ) {
|
|
// Parent constructor
|
|
ve.ui.Dialog.call( this, surface );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
ve.inheritClass( ve.ui.ContentDialog, ve.ui.Dialog );
|
|
|
|
/* Static Properties */
|
|
|
|
/**
|
|
* Localized message for dialog title.
|
|
*
|
|
* @static
|
|
* @property {string}
|
|
*/
|
|
ve.ui.ContentDialog.static.titleMessage = 'visualeditor-dialog-content-title';
|
|
|
|
/* Registration */
|
|
|
|
ve.ui.dialogFactory.register( 'content', ve.ui.ContentDialog );
|