class TabPanelWithDropdowns extends Composite {

    public TabPanelEntry addItem(String label,
                                 Widget content) {
        TabPanelEntry tab = new TabPanelEntry(label,
                                              content);
        addItem(tab);
        return tab;
    }

}