Files
UnrealEngineUWP/Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintToolMenuContext.h
Patrick Boutot 7a5d3935c2 UMG: Move WidgetBlueprintApplicationModes from private to public to enable user defined Mode for the Widget Blueprint Editor.
Add WidgetBlueprintGeneratedClassExtension to let the user grab the Editor from a extended menu item.
Add a OnRegisterTabsForEditor to let the user modify the menu but only in some ApplicationMode.
Add Extension for the Widget Blueprint Editor,  that let the user add extra info in the Blueprint and let the user add extra info to the generated class. The generated info is saved on the WidgetBlueprintGeneratedClass (info is on the Class and not on the UserWidget).
#preflight 616ec7026e12ff000127a408

[CL 17860855 by Patrick Boutot in ue5-main branch]
2021-10-19 10:50:53 -04:00

19 lines
345 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "WidgetBlueprintToolMenuContext.generated.h"
class FWidgetBlueprintEditor;
UCLASS()
class UMGEDITOR_API UWidgetBlueprintToolMenuContext : public UObject
{
GENERATED_BODY()
public:
TWeakPtr<FWidgetBlueprintEditor> WidgetBlueprintEditor;
};