class TabPanelWithDropdowns extends Composite {

    public void addTabBarWidget(final IsWidget customWidget) {
        this.getWidgetsPanel().add(customWidget);
        this.getWidgetsPanel().setCellHorizontalAlignment(customWidget, endOf(LTR));
    }

}