Files
UnrealEngineUWP/Engine/Source/Editor/DataTableEditor/Private/SCompositeRowEditor.cpp

73 lines
1.4 KiB
C++
Raw Normal View History

// 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