// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Widgets/SWidget.h" #include "Framework/Commands/UICommandList.h" #include "Framework/Commands/Commands.h" class IMenu; class SWindow; // Global editor common commands // Note: There is no real global command concept, so these must still be registered in each editor class UNREALED_API FGlobalEditorCommonCommands: public TCommands { public: FGlobalEditorCommonCommands(); virtual void RegisterCommands() override; static void MapActions(TSharedRef& ToolkitCommands); protected: static void OnPressedCtrlTab(TSharedPtr TriggeringCommand); static void OnSummonedAssetPicker(); static void OnSummonedConsoleCommandBox(); static TSharedPtr OpenPopupMenu(TSharedRef WindowContents, const FVector2D& PopupDesiredSize); public: TSharedPtr FindInContentBrowser; TSharedPtr SummonControlTabNavigation; TSharedPtr SummonControlTabNavigationAlternate; TSharedPtr SummonOpenAssetDialog; TSharedPtr SummonOpenAssetDialogAlternate; TSharedPtr OpenDocumentation; TSharedPtr OpenConsoleCommandBox; };