class TabPanelWithDropdowns extends Composite {

    void registerTabHandlers(final TabPanelEntry tab) {

        final Multimap<TabPanelEntry, HandlerRegistration> registrations = getTabHandlerRegistrations();
        final TabPanelEntry.DropDownTabListItem tabWidget = tab.getTabWidget();

        registrations.put(tab, tabWidget.addShowHandler(getIndividualTabShowHandler()));
        registrations.put(tab, tabWidget.addShownHandler(getIndividualTabShownHandler()));
    }

}