Files
UnrealEngineUWP/Engine/Source/Editor/PropertyEditor/Public/IDetailCustomization.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

29 lines
884 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IDetailLayoutBuilder;
/**
* Interface for any class that lays out details for a specific class
*/
class IDetailCustomization : public TSharedFromThis<IDetailCustomization>
{
public:
virtual ~IDetailCustomization() {}
/** Called when no longer used and will be deleted */
virtual void PendingDelete() {}
/** Called when details should be customized */
virtual void CustomizeDetails( IDetailLayoutBuilder& DetailBuilder ) = 0;
/**
* Called when details should be customized, this version allows the customization to store a weak ptr to the layout builder.
* This allows property changes to trigger a force refresh of the detail panel.
*/
virtual void CustomizeDetails( const TSharedPtr<IDetailLayoutBuilder>& DetailBuilder ) { CustomizeDetails(*DetailBuilder); }
};