Files
UnrealEngineUWP/Engine/Source/Editor/DataTableEditor/Private/SCompositeRowEditor.cpp
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

73 lines
1.4 KiB
C++

// Copyright 1998-2019 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 "EditorStyleSet.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