/Engine/Source/Editor/SceneOutliner/Public/SSceneOutliner.h
Open a context menu for this scene outliner
[TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > OnOpenContextMenu()