UEdGraph_ReferenceViewer::GetSelectedAssetsForMenuExtender

If you're extending the reference viewer via GetAllGraphEditorContextMenuExtender you can use this to get the list of selected assets to use in your menu extender