2013-10-09 20:09:59 +00:00
|
|
|
/*!
|
|
|
|
* ObjectOriented UserInterface BarToolGroup class.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2013 OOJS Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Horizontal bar layout of tools as icon buttons.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @abstract
|
|
|
|
* @extends OO.ui.ToolGroup
|
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {OO.ui.Toolbar} toolbar
|
|
|
|
* @param {Object} [config] Configuration options
|
|
|
|
*/
|
|
|
|
OO.ui.BarToolGroup = function OoUiBarToolGroup( toolbar, config ) {
|
|
|
|
// Parent constructor
|
|
|
|
OO.ui.ToolGroup.call( this, toolbar, config );
|
|
|
|
|
|
|
|
// Initialization
|
|
|
|
this.$.addClass( 'oo-ui-barToolGroup' );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( OO.ui.BarToolGroup, OO.ui.ToolGroup );
|
|
|
|
|
|
|
|
/* Static Properties */
|
|
|
|
|
2013-10-23 23:27:12 +00:00
|
|
|
OO.ui.BarToolGroup.static.labelTooltips = true;
|
2013-10-09 20:09:59 +00:00
|
|
|
|
2013-10-23 23:27:12 +00:00
|
|
|
OO.ui.BarToolGroup.static.accelTooltips = true;
|