2021-11-29 14:47:15 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Framework/Commands/Commands.h"
|
2022-05-09 13:12:28 -04:00
|
|
|
#include "Styling/AppStyle.h"
|
2021-11-29 14:47:15 -05:00
|
|
|
|
|
|
|
|
class FLevelInstanceEditorModeCommands : public TCommands<FLevelInstanceEditorModeCommands>
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
FLevelInstanceEditorModeCommands() : TCommands<FLevelInstanceEditorModeCommands>
|
|
|
|
|
(
|
|
|
|
|
"LevelInstanceEditorMode",
|
|
|
|
|
NSLOCTEXT("Contexts", "LevelInstanceEditor", "Level Instance Editor"),
|
|
|
|
|
NAME_None,
|
2022-05-09 13:12:28 -04:00
|
|
|
FAppStyle::GetAppStyleSetName() // Icon Style Set
|
2021-11-29 14:47:15 -05:00
|
|
|
)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** Exit Editor Mode */
|
|
|
|
|
TSharedPtr<FUICommandInfo> ExitMode;
|
|
|
|
|
|
|
|
|
|
/** Toggle Restrict Selection */
|
|
|
|
|
TSharedPtr<FUICommandInfo> ToggleContextRestriction;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Initialize commands
|
|
|
|
|
*/
|
|
|
|
|
virtual void RegisterCommands() override;
|
|
|
|
|
};
|