Files
UnrealEngineUWP/Engine/Source/Editor/ReferenceViewer/Classes/ReferenceViewerSchema.h
2014-04-23 17:47:19 -04:00

26 lines
1.2 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ReferenceViewerSchema.generated.h"
UCLASS()
class UReferenceViewerSchema : public UEdGraphSchema
{
GENERATED_UCLASS_BODY()
public:
// UEdGraphSchema interface
virtual void GetContextMenuActions(const UEdGraph* CurrentGraph, const UEdGraphNode* InGraphNode, const UEdGraphPin* InGraphPin, class FMenuBuilder* MenuBuilder, bool bIsDebugging) const OVERRIDE;
virtual FLinearColor GetPinTypeColor(const FEdGraphPinType& PinType) const OVERRIDE;
virtual void BreakPinLinks(UEdGraphPin& TargetPin, bool bSendsNodeNotifcation) const OVERRIDE;
virtual void BreakSinglePinLink(UEdGraphPin* SourcePin, UEdGraphPin* TargetPin) OVERRIDE;
virtual FPinConnectionResponse MovePinLinks(UEdGraphPin& MoveFromPin, UEdGraphPin& MoveToPin, bool bIsItermeadiateMove = false) const OVERRIDE;
virtual FPinConnectionResponse CopyPinLinks(UEdGraphPin& CopyFromPin, UEdGraphPin& CopyToPin, bool bIsItermeadiateCopy = false) const OVERRIDE;
// End of UEdGraphSchema interface
private:
/** Constructs the sub-menu for Make Collection With Referenced Asset */
void GetMakeCollectionWithReferencedAssetsSubMenu(class FMenuBuilder& MenuBuilder);
};