/*global mw*/
/**
* VisualEditor user interface LinkInspector class.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Creates an ve.ui.LinkInspector object.
*
* @class
* @constructor
* @param {ve.ui.Toolbar} toolbar
*/
ve.ui.LinkInspector = function ( toolbar, context ) {
// Inheritance
ve.ui.Inspector.call( this, toolbar, context );
// Properties
this.$clearButton = $( '
', context.inspectorDoc )
.prependTo( this.$ );
this.$.prepend(
$( '', context.inspectorDoc )
.text( ve.msg( 'visualeditor-linkinspector-title' ) )
);
this.$locationLabel = $( '