class WorkbenchMenuBarView extends Composite implements WorkbenchMenuBarPresenter.View {

    @Override
    public void addContextMenuItem(
            final String menuItemId,
            final String id,
            final String label,
            final String parentId,
            final Command command,
            final MenuPosition position) {
        workbenchMenuStandardNavBarView.addContextMenuItem(menuItemId,
                                                           id,
                                                           label,
                                                           parentId,
                                                           command,
                                                           position);
        workbenchMenuCompactNavBarView.addContextMenuItem(menuItemId,
                                                          id,
                                                          label,
                                                          parentId,
                                                          command,
                                                          position);
    }

}