class WorkbenchMenuCompactNavBarView extends WorkbenchMenuNavBarView {

    @Override
    public void addContextGroupMenuItem(final String menuItemId,
                                        final String id,
                                        final String label,
                                        final MenuPosition position) {
        final ListDropDown listDropDown = GWT.create(ListDropDown.class);
        listDropDown.addStyleName(UF_PERSPECTIVE_CONTEXT_MENU);
        final AnchorButton anchor = GWT.create(AnchorButton.class);
        anchor.setDataToggle(Toggle.DROPDOWN);
        anchor.setText(label);
        final DropDownMenu dropDownMenu = GWT.create(DropDownMenu.class);
        listDropDown.add(anchor);
        listDropDown.add(dropDownMenu);
        menuItemContextMenus.get(menuItemId).add(listDropDown);
        getMenuItemContextWidgetMap().put(id,
                                          dropDownMenu);
    }

}