X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/source/widgets/menu/ColorItem.js diff --git a/source/widgets/menu/ColorItem.js b/source/widgets/menu/ColorItem.js deleted file mode 100644 index e72f2fcb..00000000 --- a/source/widgets/menu/ColorItem.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Ext JS Library 2.2.1 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -/** - * @class Ext.menu.ColorItem - * @extends Ext.menu.Adapter - * A menu item that wraps the {@link Ext.ColorPalette} component. - * @constructor - * Creates a new ColorItem - * @param {Object} config Configuration options - */ -Ext.menu.ColorItem = function(config){ - Ext.menu.ColorItem.superclass.constructor.call(this, new Ext.ColorPalette(config), config); - /** The Ext.ColorPalette object @type Ext.ColorPalette */ - this.palette = this.component; - this.relayEvents(this.palette, ["select"]); - if(this.selectHandler){ - this.on('select', this.selectHandler, this.scope); - } -}; -Ext.extend(Ext.menu.ColorItem, Ext.menu.Adapter); \ No newline at end of file