2013-02-20 19:44:44 +00:00
|
|
|
/*!
|
|
|
|
* 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
|
2013-03-06 22:04:20 +00:00
|
|
|
* @param {ve.ui.Surface} surface
|
2013-02-20 19:44:44 +00:00
|
|
|
*/
|
2013-03-06 22:04:20 +00:00
|
|
|
ve.ui.ContentDialog = function VeUiContentDialog( 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 );
|
2013-02-20 19:44:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
ve.inheritClass( ve.ui.ContentDialog, ve.ui.Dialog );
|
|
|
|
|
2013-03-06 22:04:20 +00:00
|
|
|
/* Static Properties */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Localized message for dialog title.
|
|
|
|
*
|
|
|
|
* @static
|
|
|
|
* @property
|
|
|
|
* @type {string}
|
|
|
|
*/
|
|
|
|
ve.ui.ContentDialog.static.dialogTitleMessage = 'visualeditor-dialog-content-title';
|
|
|
|
|
2013-02-20 19:44:44 +00:00
|
|
|
/* Methods */
|
|
|
|
|