function() {
        var me = this;
        me.addEvents(
            /**
             * @event click
             * Fires when the tool is clicked
             * @param {Ext.panel.Tool} this
             * @param {Ext.EventObject} e The event object
             */
            'click'
        );

        //<debug>
        if (me.id && me._toolTypes[me.id] && Ext.global.console) {
            Ext.global.console.warn('When specifying a tool you should use the type option, the id can conflict now that tool is a Component');
        }
        //</debug>

        me.type = me.type || me.id;

        Ext.applyIf(me.renderData, {
            baseCls: me.baseCls,
            blank: Ext.BLANK_IMAGE_URL,
            type: me.type
        });

        // alias qtip, should use tooltip since it's what we have in the docs
        me.tooltip = me.tooltip || me.qtip;
        me.callParent();
    }
function() {
        var me = this;
        me.addEvents(
            
            'click'
        );

        
        if (me.id && me._toolTypes[me.id] && Ext.global.console) {
            Ext.global.console.warn('When specifying a tool you should use the type option, the id can conflict now that tool is a Component');
        }
        

        me.type = me.type || me.id;

        Ext.applyIf(me.renderData, {
            baseCls: me.baseCls,
            blank: Ext.BLANK_IMAGE_URL,
            type: me.type
        });

        
        me.tooltip = me.tooltip || me.qtip;
        me.callParent();
    }
function ( ) { var me = this ; me . addEvents ( /**
             * @event click
             * Fires when the tool is clicked
             * @param {Ext.panel.Tool} this
             * @param {Ext.EventObject} e The event object
             */ 'click' ) ; //<debug> if ( me . id && me . _toolTypes [ me . id ] && Ext . global . console ) { Ext . global . console . warn ( 'When specifying a tool you should use the type option, the id can conflict now that tool is a Component' ) ; } //</debug> me . type = me . type || me . id ; Ext . applyIf ( me . renderData , { baseCls : me . baseCls , blank : Ext . BLANK_IMAGE_URL , type : me . type } ) ; // alias qtip, should use tooltip since it's what we have in the docs me . tooltip = me . tooltip || me . qtip ; me . callParent ( ) ; }
</debug>
< / debug >