private MenuItem createPermissionsMenuItem(final DocRef docRef,
                                               final int priority,
                                               final boolean enabled) {
        final Command command = () -> {
            if (docRef != null) {
//                ShowDocumentPermissionsEvent.fire(DocumentPluginEventManager.this, docRef);
                OpenDocumentEvent.builder(DocumentPluginEventManager.this, docRef)
                        .selectedTab(CommonDocLinkTab.PERMISSIONS)
                        .fire();
            }
        };

        return new IconMenuItem.Builder()
                .priority(priority)
                .icon(SvgImage.LOCKED)
                .text("Permissions")
                .enabled(enabled)
                .command(command)
                .build();
    }
Highlights the supplied document item in the explorer tree.
stroom-core-client/src/main/java/stroom/document/client/DocumentPluginEventManager.java