/Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditorToolkit.h
IAssetEditorInstanceThis is important because if this returns true, attempting to edit a static mesh that is open in the UV editor may open the UV editor instead of opening the static mesh editor.
virtual bool IsPrimaryEditor() const