2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#include "CurveTableEditorPrivatePCH.h"
|
|
|
|
|
#include "ModuleManager.h"
|
|
|
|
|
#include "CurveTableEditor.h"
|
|
|
|
|
#include "Toolkits/ToolkitManager.h"
|
2014-11-12 04:58:53 -05:00
|
|
|
#include "Engine/CurveTable.h"
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE( FCurveTableEditorModule, CurveTableEditor );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const FName FCurveTableEditorModule::CurveTableEditorAppIdentifier( TEXT( "CurveTableEditorApp" ) );
|
|
|
|
|
|
|
|
|
|
void FCurveTableEditorModule::StartupModule()
|
|
|
|
|
{
|
|
|
|
|
MenuExtensibilityManager = MakeShareable(new FExtensibilityManager);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FCurveTableEditorModule::ShutdownModule()
|
|
|
|
|
{
|
|
|
|
|
MenuExtensibilityManager.Reset();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TSharedRef<ICurveTableEditor> FCurveTableEditorModule::CreateCurveTableEditor( const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, UCurveTable* Table )
|
|
|
|
|
{
|
|
|
|
|
TSharedRef< FCurveTableEditor > NewCurveTableEditor( new FCurveTableEditor() );
|
|
|
|
|
NewCurveTableEditor->InitCurveTableEditor( Mode, InitToolkitHost, Table );
|
|
|
|
|
return NewCurveTableEditor;
|
|
|
|
|
}
|
|
|
|
|
|