Files
UnrealEngineUWP/Engine/Plugins/Runtime/ModelViewViewModel/Source/ModelViewViewModelEditor/Private/MVVMPropertyAccess.h
Patrick Boutot 5cc291be88 MVVM: Move the ModelViewViewModel plugin to //UE5/Main/
#preflight 62471b2edc6183e3f51a8a07
#preflight 62473c85f73c316f680acef9

[CL 19592606 by Patrick Boutot in ue5-main branch]
2022-04-01 14:21:11 -04:00

36 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IPropertyHandle;
class SWidget;
class UMVVMViewModelBase;
class UWidgetBlueprint;
/**
*
*/
//class FMVVMPropertyAccess
//{
//public:
// FMVVMPropertyAccess(UWidgetBlueprint* WidgetBlueprint, const TSharedPtr<IPropertyHandle>& PropertyHandle);
//
//public:
// TSharedPtr<SWidget> MakeViewModelBindingMenu() const;
// static TSharedRef<SWidget> MakeFunctionWidget(UFunction* Function);
// static TSharedRef<SWidget> MakePropertyWidget(FProperty* Property);
// static bool IsBindableFunction(UFunction* Function);
// static bool IsBindableProperty(FProperty* Property);
//
//private:
// TSharedRef<SWidget> MakeViewModelSubMenuWidget(TSubclassOf<UMVVMViewModelBase> ViewModelDefinition) const;
// void FillViewModelSubMenu(FMenuBuilder& MenuBuilder, TSubclassOf<UMVVMViewModelBase> ViewModelDefinition) const;
// void HandleAddBinding(FGuid OutputId) const;
//
//private:
// UWidgetBlueprint* WidgetBlueprint;
// const TSharedPtr<IPropertyHandle>& PropertyHandle;
//};