ToolBar = function (selector, options) {
        this.selector = selector;
        this.actions = (options||{}).actions;
        if (this.selector !== undefined) {
            this.element = $(selector);
            this.style();
        }
    }
A generic toolbar on which one can add button
@class ToolBar
@constructor
@param {Dom_object} selector