private Item createItem(final SafeHtml text, final Command command, final int position) {
        return new IconMenuItem.Builder()
                .priority(position)
                .text(text)
                .command(command)
                .build();
    }
Update the labels of the context menu items depending on the current XML
editor settings.
stroom-core-client-widget/src/main/java/stroom/editor/client/view/EditorMenuPresenter.java