private void choosePipeline(final Consumer<DocRef> consumer) {
        final DocSelectionPopup chooser = pipelineSelection.get();
        chooser.setCaption("Choose Pipeline To Process Data With");
        chooser.setIncludedTypes(PipelineDoc.TYPE);
        chooser.setRequiredPermissions(DocumentPermission.VIEW);
        chooser.show(consumer);
    }
@param onSetExpression Called after the expression has been successfully
                       validated and set on the criteria. Can be null.
stroom-core-client/src/main/java/stroom/data/client/presenter/AbstractMetaListPresenter.java