2013-02-20 19:44:44 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor user interface MetaDialog 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
|
2013-03-12 21:05:25 +00:00
|
|
|
* @param {ve.Surface} surface
|
2013-02-20 19:44:44 +00:00
|
|
|
*/
|
2013-03-06 22:04:20 +00:00
|
|
|
ve.ui.MetaDialog = function VeUiMetaDialog( surface ) {
|
2013-02-20 19:44:44 +00:00
|
|
|
// Parent constructor
|
2013-03-06 22:04:20 +00:00
|
|
|
ve.ui.Dialog.call( this, surface );
|
|
|
|
|
|
|
|
// TODO: Construct meta dialog inside .ve-ui-dialog-container
|
2013-02-20 19:44:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
ve.inheritClass( ve.ui.MetaDialog, ve.ui.Dialog );
|
|
|
|
|
|
|
|
|
2013-03-06 22:04:20 +00:00
|
|
|
/* Static Properties */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Localized message for dialog title.
|
|
|
|
*
|
|
|
|
* @static
|
|
|
|
* @property
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
ve.ui.MetaDialog.static.dialogTitleMessage = 'visualeditor-dialog-meta-title';
|
|
|
|
|
|
|
|
/* Methods */
|