Files
UnrealEngineUWP/Engine/Source/Editor/LevelAssetEditor/Public/LevelAssetEditorToolkit.h
brooke hubert d48c7d8e7f Remove tools context interface implementations from example asset editor code.
Maintaining these as we update the tools context APIs is unnecessary.  It should be sufficient to use the default editor implementation.

#Jira UE-110554
#rb jamie.dale

[CL 15691384 by brooke hubert in ue5-main branch]
2021-03-13 16:09:12 -04:00

27 lines
788 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Tools/BaseAssetToolkit.h"
#include "Delegates/IDelegateInstance.h"
class SEditorViewport;
class FEditorViewportClient;
class UAssetEditor;
class FLevelEditorAssetToolkit : public FBaseAssetToolkit
{
public:
FLevelEditorAssetToolkit(UAssetEditor* InOwningAssetEditor);
virtual ~FLevelEditorAssetToolkit();
protected:
// Base Asset Toolkit overrides
virtual AssetEditorViewportFactoryFunction GetViewportDelegate() override;
virtual TSharedPtr<FEditorViewportClient> CreateEditorViewportClient() const override;
virtual void PostInitAssetEditor() override;
// End Base Asset Toolkit overrides
void AddInputBehaviorsForEditorClientViewport(TSharedPtr<FEditorViewportClient>& InViewportClient) const;
};