class WorkbenchMenuCompactNavBarView extends WorkbenchMenuNavBarView {

    @Override
    public void selectMenuItem(final String id) {
        super.selectMenuItem(id);
        final String menuLabel = menuLabelMap.get(id);
        text.setText(menuLabel == null ? "" : menuLabel);
        for (ComplexPanel context : menuItemContextMenus.get(id)) {
            navbarNav.add(context);
        }
    }

}