// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "EditorStyleSet.h" #include "Framework/Commands/Commands.h" // Actions that can be invoked in the reference viewer class FReferenceViewerActions : public TCommands { public: FReferenceViewerActions() : TCommands ( "ReferenceViewer", NSLOCTEXT("Contexts", "ReferenceViewer", "Reference Viewer"), "MainFrame", FEditorStyle::GetStyleSetName() ) { } // TCommands<> interface virtual void RegisterCommands() override; // End of TCommands<> interface public: // Opens the selected asset in the asset editor TSharedPtr OpenSelectedInAssetEditor; // Re-constructs the graph with the selected asset as the center TSharedPtr ReCenterGraph; // Copies the list of objects that the selected asset references TSharedPtr CopyReferencedObjects; // Copies the list of objects that reference the selected asset TSharedPtr CopyReferencingObjects; // Shows a list of objects that the selected asset references TSharedPtr ShowReferencedObjects; // Shows a list of objects that reference the selected asset TSharedPtr ShowReferencingObjects; // Shows a size map for the selected asset. TSharedPtr ShowSizeMap; // Shows a reference tree for the selected asset. TSharedPtr ShowReferenceTree; // Creates a new collection with the list of assets that this asset references, user selects which ECollectionShareType to use. TSharedPtr MakeLocalCollectionWithReferencers; TSharedPtr MakePrivateCollectionWithReferencers; TSharedPtr MakeSharedCollectionWithReferencers; TSharedPtr MakeLocalCollectionWithDependencies; TSharedPtr MakePrivateCollectionWithDependencies; TSharedPtr MakeSharedCollectionWithDependencies; };