Files
UnrealEngineUWP/Engine/Source/Editor/LevelEditor/Private/SLevelEditorToolBox.h
brooke hubert a60ba51741 Mode UI layer will set the icon if one is provided to the minor tab info, or fallback on the default for the workspace category if one was not provided.
#preflight 612e3f1fb6b29c0001ebc06c
#Jira none
#rb lauren.barnes

#ROBOMERGE-SOURCE: CL 17369748 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17369756 by brooke hubert in ue5-release-engine-test branch]
2021-08-31 12:11:44 -04:00

43 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Toolkits/AssetEditorModeUILayer.h"
#include "Textures/SlateIcon.h"
#include "Layout/Visibility.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
#include "Editor.h"
#include "ILevelEditor.h"
#include "Misc/NotifyHook.h"
#include "StatusBarSubsystem.h"
#include "Framework/Docking/LayoutExtender.h"
#include "Framework/Docking/TabManager.h"
class FExtender;
class SBorder;
class IToolkit;
class SDockTab;
class ILevelEditor;
class FLevelEditorModeUILayer : public FAssetEditorModeUILayer
{
public:
FLevelEditorModeUILayer(const IToolkitHost* InToolkitHost);
FLevelEditorModeUILayer() {};
virtual ~FLevelEditorModeUILayer() override;
virtual void OnToolkitHostingStarted(const TSharedRef<IToolkit>& Toolkit) override;
virtual void OnToolkitHostingFinished(const TSharedRef<IToolkit>& Toolkit) override;
virtual TSharedPtr<FWorkspaceItem> GetModeMenuCategory() const override;
virtual const FName GetStatusBarName() const override
{
static const FName LevelEditorStatusBarName = "LevelEditor.StatusBar";
return LevelEditorStatusBarName;
}
protected:
virtual void RegisterLayoutExtensions(FLayoutExtender& Extender) override;
};