mediawiki-extensions-Visual.../modules/ve-mw/ui/tools/ve.ui.MWLinkNodeInspectorTool.js
Trevor Parscal f65c3c6ef1 [BREAKING CHANGE] Update VE core submodule to master (88fe25f)
Switch to processes for windows (dialogs/inspectors)

This conversion also required the splitting of MWLinkInspector into
MWLinkNodeInspector and MWLinkAnnotationInspector.

New changes:
88fe25f [BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (dd888aba5c)

Change-Id: I662d8985463c9fc881775f70aef87ebeb454a73f
2014-05-30 22:03:45 -07:00

25 lines
887 B
JavaScript

/*!
* VisualEditor UserInterface MediaWiki LinkInspectorTool classes.
*
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* UserInterface link tool.
*
* @class
* @extends ve.ui.LinkInspectorTool
* @constructor
* @param {OO.ui.ToolGroup} toolGroup
* @param {Object} [config] Configuration options
*/
ve.ui.MWLinkNodeInspectorTool = function VeUiMWLinkNodeInspectorTool( toolGroup, config ) {
ve.ui.LinkInspectorTool.call( this, toolGroup, config );
};
OO.inheritClass( ve.ui.MWLinkNodeInspectorTool, ve.ui.LinkInspectorTool );
ve.ui.MWLinkNodeInspectorTool.static.name = 'linkNode';
ve.ui.MWLinkNodeInspectorTool.static.modelClasses = [ ve.dm.MWNumberedExternalLinkNode ];
ve.ui.MWLinkNodeInspectorTool.static.commandName = 'linkNode';
ve.ui.toolFactory.register( ve.ui.MWLinkNodeInspectorTool );