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