Files
UnrealEngine/Engine/Source/Editor/DataTableEditor/Private/SCompositeRowEditor.cpp
2025-05-18 13:04:45 +08:00

64 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "SCompositeRowEditor.h"
class UDataTable;
#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