Files
UnrealEngineUWP/Engine/Source/Editor/GraphEditor/Public/SGraphPinDataTableRowName.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

28 lines
881 B
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SGraphPinNameList.h"
#include "DataTableEditorUtils.h"
class GRAPHEDITOR_API SGraphPinDataTableRowName : public SGraphPinNameList, public FDataTableEditorUtils::INotifyOnDataTableChanged
{
public:
SLATE_BEGIN_ARGS(SGraphPinDataTableRowName) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, UEdGraphPin* InGraphPinObj, class UDataTable* InDataTable);
SGraphPinDataTableRowName();
virtual ~SGraphPinDataTableRowName();
// FDataTableEditorUtils::INotifyOnDataTableChanged
virtual void PreChange(const UDataTable* Changed, FDataTableEditorUtils::EDataTableChangeInfo Info) override;
virtual void PostChange(const UDataTable* Changed, FDataTableEditorUtils::EDataTableChangeInfo Info) override;
protected:
void RefreshNameList();
TAssetPtr<class UDataTable> DataTable;
};