4#include "Widgets/Layout/SBox.h"
6#include "IDocumentation.h"
7#include "GraphEditorDragDropAction.h"
11#define LOCTEXT_NAMESPACE "DialogueEditor"
18 GraphNode = Cast<UEdGraphNode>(InNode);
20 Settings = GetDefault<UDlgSystemSettings>();
47 Super::CreateStandardPinWidget(Pin);
61 SetVisibility(TAttribute<EVisibility>::Create(TAttribute<EVisibility>::FGetter::CreateSP(
this, &
Self::GetNodeVisibility)));
66 check(!OwnerGraphPanelPtr.IsValid());
67 SetParentPanel(OwnerPanel);
68 OwnerGraphPanelPtr = OwnerPanel;
69 GraphNode->DEPRECATED_NodeWidget = SharedThis(
this);
72 if (OwnerGraphPanelPtr.Pin()->GetPinVisibility() != SGraphEditor::Pin_Show &&
PinsNodeBox.IsValid())
87 PinToAdd->SetOwner(SharedThis(
this));
96 if (PinToAdd->GetDirection() == EGPD_Output)
98 OutputPins.Add(PinToAdd);
102 InputPins.Add(PinToAdd);
108#undef LOCTEXT_NAMESPACE
void CreatePinWidgets() override
TSharedPtr< SGraphPin > CreatePinWidget(UEdGraphPin *Pin) const override
const UDlgSystemSettings * Settings
UDialogueGraphNode_Base * DialogueGraphNode_Base
void AddPin(const TSharedRef< SGraphPin > &PinToAdd) override
virtual EVisibility GetNodeVisibility() const
void SetOwner(const TSharedRef< SGraphPanel > &OwnerPanel) override
TSharedPtr< SVerticalBox > PinsNodeBox
void UpdateGraphNode() override
void Construct(const FArguments &InArgs, UDialogueGraphNode_Base *InNode)
bool IsValidPin(UEdGraphPin *Pin)
void CreateStandardPinWidget(UEdGraphPin *Pin) override
UEdGraphPin * GetOutputPin() const
UEdGraphPin * GetInputPin() const