Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | 1x 1x 1x 1x 1x 1x | /*!
* VisualEditor user interface NodeDialog class.
*
* @copyright See AUTHORS.txt
*/
/**
* Dialog for working with a node.
*
* @class
* @extends ve.ui.FragmentDialog
* @mixes ve.ui.NodeWindow
*
* @constructor
* @param {Object} [config] Configuration options
*/
ve.ui.NodeDialog = function VeUiNodeDialog( config = {} ) {
// Parent constructor
ve.ui.NodeDialog.super.call( this, config );
// Mixin constructor
ve.ui.NodeWindow.call( this );
};
/* Inheritance */
OO.inheritClass( ve.ui.NodeDialog, ve.ui.FragmentDialog );
OO.mixinClass( ve.ui.NodeDialog, ve.ui.NodeWindow );
/**
* @inheritdoc
*/
ve.ui.NodeDialog.prototype.initialize = function ( data ) {
// Parent method
ve.ui.NodeDialog.super.prototype.initialize.call( this, data );
// Initialization
this.$content.addClass( 've-ui-nodeDialog' );
};
/**
* @inheritdoc
*/
ve.ui.NodeDialog.prototype.getSetupProcess = function ( data ) {
// Parent method
const process = ve.ui.NodeDialog.super.prototype.getSetupProcess.call( this, data );
// Mixin method
return ve.ui.NodeWindow.prototype.getSetupProcess.call( this, data, process );
};
/**
* @inheritdoc
*/
ve.ui.NodeDialog.prototype.getTeardownProcess = function ( data ) {
// Parent method
const process = ve.ui.NodeDialog.super.prototype.getTeardownProcess.call( this, data );
// Mixin method
return ve.ui.NodeWindow.prototype.getTeardownProcess.call( this, data, process );
};
|