private MenuItem createSaveMenuItem(final int priority, final TabData selectedTab) {
        return new IconMenuItem.Builder()
                .priority(priority)
                .icon(SvgImage.SAVE)
                .text("Save")
                .action(Action.ITEM_SAVE)
                .enabled(isDirty(selectedTab))
                .command(() -> {
                    if (isDirty(selectedTab)) {
                        final HasSave hasSave = (HasSave) selectedTab;
                        hasSave.save();
                    }
                })
                .build();
    }
Highlights the supplied document item in the explorer tree.
stroom-core-client/src/main/java/stroom/document/client/DocumentPluginEventManager.java