mediawiki-extensions-Visual.../modules/ve/ui/dialogs/ve.ui.ContentDialog.js
Timo Tijhof c53685b865 Doc: Replace "@property @type {Type}" with "@property {Type}".
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
2013-03-28 21:21:56 +01:00

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 );