class WorkbenchMenuStandardNavBarView extends WorkbenchMenuNavBarView {

    @Override
    public void selectMenuItem(final String id) {
        ComplexPanel menuItemWidget = getMenuItemWidgetMap().get(id);
        if (menuItemWidget == null) {
            menuItemWidget = GWT.create(ListItem.class);
            menuItemWidget.addStyleName(UF_PERSPECTIVE_CONTEXT_MENU_EMPTY);
            getMenuItemWidgetMap().put(id,
                                       menuItemWidget);
            navbarNav.add(menuItemWidget);
        }

        super.selectMenuItem(id);

        addContextMenusToContainer(id,
                                   menuItemWidget);

        for (Map.Entry<String, ComplexPanel> context : getContextContainerWidgetMap().entrySet()) {
            if (context.getKey().equals(id)) {
                context.getValue().setVisible(true);
                context.getValue().getParent().addStyleName(UF_PERSPECTIVE_CONTEXT_MENU_CONTAINER);
            } else {
                context.getValue().setVisible(false);
            }
        }
    }

}