Files
UnrealEngineUWP/Engine/Source/Editor/DataTableEditor/Private/SCompositeRowEditor.cpp
Lauren Barnes 6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00

73 lines
1.4 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SCompositeRowEditor.h"
#include "Modules/ModuleManager.h"
#include "Widgets/Layout/SSpacer.h"
#include "Widgets/Images/SImage.h"
#include "Widgets/Input/SEditableTextBox.h"
#include "Widgets/Input/SButton.h"
#include "Styling/AppStyle.h"
#include "UObject/StructOnScope.h"
#include "PropertyEditorModule.h"
#include "IStructureDetailsView.h"
#include "IDetailsView.h"
#define LOCTEXT_NAMESPACE "SCompositeRowEditor"
SCompositeRowEditor::SCompositeRowEditor()
: SRowEditor()
{
}
SCompositeRowEditor::~SCompositeRowEditor()
{
}
void SCompositeRowEditor::Construct(const FArguments& InArgs, UDataTable* Changed)
{
ConstructInternal(Changed);
}
FReply SCompositeRowEditor::OnAddClicked()
{
return SRowEditor::OnAddClicked();
}
FReply SCompositeRowEditor::OnRemoveClicked()
{
return SRowEditor::OnRemoveClicked();
}
FReply SCompositeRowEditor::OnMoveRowClicked(FDataTableEditorUtils::ERowMoveDirection MoveDirection)
{
return SRowEditor::OnMoveRowClicked(MoveDirection);
}
bool SCompositeRowEditor::IsMoveRowUpEnabled() const
{
return false;
}
bool SCompositeRowEditor::IsMoveRowDownEnabled() const
{
return false;
}
bool SCompositeRowEditor::IsAddRowEnabled() const
{
return false;
}
bool SCompositeRowEditor::IsRemoveRowEnabled() const
{
return false;
}
EVisibility SCompositeRowEditor::GetRenameVisibility() const
{
return EVisibility::Collapsed;
}
#undef LOCTEXT_NAMESPACE