class WorkbenchMenuBarView extends Composite implements WorkbenchMenuBarPresenter.View {

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

}