Debian Codegraph @

extensions/VisualEditor/lib/ve/src/ui/tools/ve.ui.CommentInspectorTool.js

raw symbols SCIP
1 /*!
2 * VisualEditor UserInterface CommentInspectorTool classes.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 /**
8 * UserInterface comment tool.
9 *
10 * @class
11 * @extends ve.ui.FragmentInspectorTool
12 * @constructor
13 * @param {OO.ui.ToolGroup} toolGroup
14 * @param {Object} [config] Configuration options
15 */
16 ve.ui.CommentInspectorTool = function VeUiCommentInspectorTool() {
17 ve.ui.CommentInspectorTool.super.apply( this, arguments );
18 };
19 OO.inheritClass( ve.ui.CommentInspectorTool, ve.ui.FragmentInspectorTool );
20 ve.ui.CommentInspectorTool.static.name = 'comment';
21 ve.ui.CommentInspectorTool.static.group = 'meta';
22 ve.ui.CommentInspectorTool.static.icon = 'speechBubbleNotice';
23 ve.ui.CommentInspectorTool.static.title =
24 OO.ui.deferMsg( 'visualeditor-commentinspector-tooltip' );
25 ve.ui.CommentInspectorTool.static.modelClasses = [ ve.dm.CommentNode ];
26 ve.ui.CommentInspectorTool.static.commandName = 'comment';
27 ve.ui.CommentInspectorTool.static.deactivateOnSelect = true;
28 ve.ui.toolFactory.register( ve.ui.CommentInspectorTool );