Files
UnrealEngineUWP/Engine/Source/Editor/DataTableEditor/Private/SCompositeRowEditor.cpp
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -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