All files / src/ui/tools ve.ui.HelpCompletionTool.js

90% Statements 9/10
100% Branches 0/0
0% Functions 0/1
90% Lines 9/10

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                              1x             1x       1x   1x   1x   1x     1x   1x       1x  
/*!
 * VisualEditor UserInterface HelpCompletionTool class.
 *
 * @copyright See AUTHORS.txt
 */
 
/**
 * UserInterface help completion tool.
 *
 * @class
 * @extends ve.ui.Tool
 * @constructor
 * @param {OO.ui.ToolGroup} toolGroup
 * @param {Object} [config] Configuration options
 */
ve.ui.HelpCompletionTool = function VeUiHelpCompletionTool() {
	// Parent constructor
	ve.ui.HelpCompletionTool.super.apply( this, arguments );
};
 
/* Inheritance */
 
OO.inheritClass( ve.ui.HelpCompletionTool, ve.ui.Tool );
 
/* Static Properties */
 
ve.ui.HelpCompletionTool.static.name = 'openHelpCompletionsTrigger';
 
ve.ui.HelpCompletionTool.static.group = 'help';
 
ve.ui.HelpCompletionTool.static.icon = 'search';
 
ve.ui.HelpCompletionTool.static.title =
	OO.ui.deferMsg( 'visualeditor-toolbar-search-help-label' );
 
ve.ui.HelpCompletionTool.static.autoAddToCatchall = false;
 
ve.ui.HelpCompletionTool.static.commandName = 'openHelpCompletionsTrigger';
 
/* Registration */
 
ve.ui.toolFactory.register( ve.ui.HelpCompletionTool );