private boolean isDirty(final TabData tabData) {
        if (tabData instanceof HasSave) {
            @SuppressWarnings("PatternVariableCanBeUsed") // cos GWT
            final HasSave hasSave = (HasSave) tabData;
            return hasSave.isDirty();
        }

        return false;
    }
Highlights the supplied document item in the explorer tree.
stroom-core-client/src/main/java/stroom/document/client/DocumentPluginEventManager.java