
IAD_PageController.DebugBarHandler = IAD_Class.create("DebugBarHandler", IAD_PageController.DivHandler,
{
    initialize: function($super, elt, pc)
    {
        $super(elt, pc);
        //alert("DebugBarHandler.initialize, elt.id="+elt.id);
        var _view = new Window({
            className: "alphacube",
            title: "",
            width:50,
            height:50,
            destroyOnClose: false,
            recenterAuto:false
        });
        this.getValue = function(evt)
        {
            return this.getElement().innerHTML;
        }
        var $super_value = this.setValue.bind(this);
        this.setValue = function(params, evt)
        {
//             alert(params);
//
//             return this;

            $super_value(params, evt);
            _view.setLocation(100, 150);
            _view.getContent().update(elt.innerHTML);
            _view.show();
        }

        //this.setValue("AAAAAAAAA");
    }
});

