/*! * VisualEditor UserInterface Inspector class. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * UserInterface inspector. * * @class * @abstract * @extends ve.ui.Window * * @constructor * @param {ve.ui.Surface} surface * @param {Object} [config] Config options */ ve.ui.Inspector = function VeUiInspector( surface, config ) { // Parent constructor ve.ui.Window.call( this, surface, config ); // Properties this.initialSelection = null; // Initialization this.$.addClass( 've-ui-inspector' ); }; /* Inheritance */ ve.inheritClass( ve.ui.Inspector, ve.ui.Window ); /* Static Properties */ ve.ui.Inspector.static.titleMessage = 've-ui-inspector-title'; /* Methods */ /** * Handle frame ready events. * * @method */ ve.ui.Inspector.prototype.initialize = function () { // Parent method ve.ui.Window.prototype.initialize.call( this ); // Initialization this.$form = this.$$( '