private void fireShowCreateDocumentDialogEvent(final DocumentType documentType,
                                                   final ExplorerNode explorerNode) {
        final Consumer<ExplorerNode> newDocumentConsumer = newDocNode -> {
            final DocRef docRef = newDocNode.getDocRef();
            // Open the document in the content pane.
            final DocumentPlugin<?> plugin = documentPluginRegistry.get(docRef.getType());
            if (plugin != null) {
                plugin.open(docRef, true, false, new DefaultTaskMonitorFactory(this));
            }
        };

        ShowCreateDocumentDialogEvent.fire(
                DocumentPluginEventManager.this,
                "New " + documentType.getDisplayType(),
                explorerNode,
                documentType.getType(),
                "",
                true,
                newDocumentConsumer);
    }
Highlights the supplied document item in the explorer tree.
stroom-core-client/src/main/java/stroom/document/client/DocumentPluginEventManager.java