You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Added 2 new commmands to copy the ObjectPath and the PackageName. Leaved the CTRL+C keybind mapped to the same behavior as before. Added new commands to the keybind system so that users can re-bind them. Cleaned up some hardcoded checks for keys in the OnKeyDown. #rb aditya.ravichandran, sebastian.arleryd #jira UE-155995 [CL 33684273 by andrea botti in ue5-main branch]
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Framework/Commands/Commands.h"
|
|
#include "HAL/Platform.h"
|
|
#include "Internationalization/Internationalization.h"
|
|
#include "Styling/AppStyle.h"
|
|
#include "Templates/SharedPointer.h"
|
|
#include "UObject/NameTypes.h"
|
|
#include "UObject/UnrealNames.h"
|
|
|
|
class FUICommandInfo;
|
|
|
|
class FContentBrowserCommands
|
|
: public TCommands<FContentBrowserCommands>
|
|
{
|
|
public:
|
|
|
|
/** Default constructor. */
|
|
FContentBrowserCommands()
|
|
: TCommands<FContentBrowserCommands>(TEXT("ContentBrowser"), NSLOCTEXT( "ContentBrowser", "ContentBrowser", "Content Browser" ), NAME_None, FAppStyle::GetAppStyleSetName() )
|
|
{ }
|
|
|
|
public:
|
|
|
|
//~ TCommands interface
|
|
|
|
virtual void RegisterCommands() override;
|
|
|
|
public:
|
|
|
|
TSharedPtr<FUICommandInfo> CreateNewFolder;
|
|
TSharedPtr<FUICommandInfo> OpenAssetsOrFolders;
|
|
TSharedPtr<FUICommandInfo> PreviewAssets;
|
|
TSharedPtr<FUICommandInfo> SaveSelectedAsset;
|
|
TSharedPtr<FUICommandInfo> SaveAllCurrentFolder;
|
|
TSharedPtr<FUICommandInfo> ResaveAllCurrentFolder;
|
|
TSharedPtr<FUICommandInfo> EditPath;
|
|
TSharedPtr<FUICommandInfo> AssetViewCopyObjectPath;
|
|
TSharedPtr<FUICommandInfo> AssetViewCopyPackageName;
|
|
};
|