Files
UnrealEngineUWP/Engine/Source/Editor/WorkspaceMenuStructure/Public/WorkspaceMenuStructure.h
2014-03-14 14:13:41 -04:00

53 lines
1.4 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* Describes the workspace menu from which tabs are summoned
*
* +-Asset Editor Tabs
* |-Tab
* |-...
* |
* +-Level Editor Tabs
* |-Tab
* |-...
* | \ Viewports >
* +-Tools Tabs
* |-Tab
* |-...
* \ Developer Tools >
*/
class FWorkspaceItem;
class IWorkspaceMenuStructure
{
public:
/** Get the root of the menu structure. Pass this into PopulateTabSpawnerMenu() */
virtual TSharedRef<FWorkspaceItem> GetStructureRoot() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetAssetEditorCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetLevelEditorCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetLevelEditorViewportsCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetLevelEditorDetailsCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetLevelEditorModesCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetToolsCategory() const = 0;
/** See diagram above */
virtual TSharedRef<FWorkspaceItem> GetDeveloperToolsCategory() const = 0;
/** Get the root of the edit menu structure. Pass this into PopulateTabSpawnerMenu() */
virtual TSharedRef<FWorkspaceItem> GetEditOptions() const = 0;
};