4#include "GraphEditor.h"
5#include "EditorUndoClient.h"
6#include "Toolkits/AssetEditorToolkit.h"
7#include "IDetailsView.h"
8#include "Misc/NotifyHook.h"
54 FString
GetDocumentationLink()
const override {
return FString(TEXT(
"Plugins/DlgSystem/DialogueEditor")); }
73 void PostUndo(
bool bSuccess)
override;
77 void PostRedo(
bool bSuccess)
override;
132 void Refresh(
bool bRestorePreviousSelection)
override;
140 void SummonSearchUI(
bool bSetFindWithinDialogue, FString NewSearchTerms = FString(),
bool bSelectFirstResult =
false);
144 EToolkitMode::Type Mode,
145 const TSharedPtr<IToolkitHost>& InitToolkitHost,
275 const FVector2D& InNodePosition,
276 const TArray<UEdGraphPin*>& InDraggedPins,
278 SGraphEditor::FActionMenuClosed InOnMenuClosed);
bool CanPasteNodes() const
void InitDialogueEditor(EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost > &InitToolkitHost, UDlgDialogue *InitDialogue)
void OnCommandDeleteSelectedNodes() const
UDlgSystemSettings * Settings
void OnCommandHideSelectedNodes()
TSharedPtr< IDetailsView > DetailsView
void PasteNodesHere(const FVector2D &Location)
void PostRedo(bool bSuccess) override
static const FName PaletteTabId
void SetDialogueBeingEdited(UDlgDialogue *NewDialogue)
TSharedRef< SGraphEditor > CreateGraphEditorWidget()
TSharedPtr< SGraphEditor > GraphEditorView
TArray< TWeakObjectPtr< UObject > > PreviousSelectedNodeObjects
void NotifyPostChange(const FPropertyChangedEvent &PropertyChangedEvent, FNYProperty *PropertyThatChanged) override
void SummonSearchUI(bool bSetFindWithinDialogue, FString NewSearchTerms=FString(), bool bSelectFirstResult=false)
static const FName GraphCanvasTabID
void SaveAssetAs_Execute() override
bool CanDeleteNodes() const
FText GetBaseToolkitName() const override
bool CanCopyNodes() const
bool GetBoundsForSelectedNodes(class FSlateRect &Rect, float Padding) const override
void JumpToObject(const UObject *Object) override
UDialogueGraphNode_Edge * GetLastTargetGraphEdgeBeforeDrag() const override
void BindEditorCommands()
void OnCommandUndoGraphAction() const
void SetLastTargetGraphEdgeBeforeDrag(UDialogueGraphNode_Edge *InEdge) override
void OnCommandRedoGraphAction() const
static const FName DetailsTabID
void PostUndo(bool bSuccess) override
TSet< UObject * > GetSelectedNodes() const override
void RegisterTabSpawners(const TSharedRef< FTabManager > &TabManager) override
void OnCommandConvertSpeechNodesToSpeechSequence() const
TSharedRef< SDockTab > SpawnTab_Palette(const FSpawnTabArgs &Args) const
UDialogueGraph * GetDialogueGraph() const
void SaveAsset_Execute() override
TSharedPtr< SDialoguePalette > PaletteView
const UDlgSystemSettings & GetSettings() const
void ClearViewportSelection() const
UDialogueGraphNode_Edge * LastTargetGraphEdgeBeforeDrag
void OnGraphActionMenuClosed(bool bActionExecuted, bool bGraphPinContext)
FLinearColor GetWorldCentricTabColorScale() const override
void OnSelectedNodesChanged(const TSet< UObject * > &NewSelection)
void AddReferencedObjects(FReferenceCollector &Collector) override
void RefreshViewport() const
FString GetWorldCentricTabPrefix() const override
void RefreshDetailsView(bool bRestorePreviousSelection) override
bool CanSaveAsset() const override
TSharedRef< SDockTab > SpawnTab_FindInDialogue(const FSpawnTabArgs &Args) const
static const FName FindInDialogueTabId
void OnCommandPasteNodes()
FActionMenuContent OnCreateGraphActionMenu(UEdGraph *InGraph, const FVector2D &InNodePosition, const TArray< UEdGraphPin * > &InDraggedPins, bool bAutoExpand, SGraphEditor::FActionMenuClosed InOnMenuClosed)
TSharedPtr< SFindInDialogues > FindResultsView
FName GetToolkitFName() const override
FText GetToolkitName() const override
TSharedRef< SDockTab > SpawnTab_GraphCanvas(const FSpawnTabArgs &Args) const
TSharedRef< SWidget > GenerateExternalURLsMenu() const
TSharedRef< SDockTab > SpawnTab_Details(const FSpawnTabArgs &Args) const
FString GetDocumentationLink() const override
void OnCommandCopySelectedNodes() const
void UnregisterTabSpawners(const TSharedRef< FTabManager > &TabManager) override
void CreateInternalWidgets()
bool CanSaveAssetAs() const override
UDlgDialogue * GetDialogueBeingEdited()
TSharedPtr< FUICommandList > GraphEditorCommands
void Refresh(bool bRestorePreviousSelection) override
UDlgDialogue * DialogueBeingEdited
void FocusWindow(UObject *ObjectToFocusOn=nullptr) override
FText GetToolkitToolTipText() const override
void OnCommandConvertSpeechSequenceNodeToSpeechNodes() const
void OnCommandUnHideAllNodes()
void OnNodeTitleCommitted(const FText &NewText, ETextCommit::Type CommitInfo, UEdGraphNode *NodeBeingChanged) const
void OnCommandDialogueReload() const
TSharedRef< SWidget > GeneratePrimarySecondaryEdgesMenu() const
UCLASS(BlueprintType, Meta = (DisplayThumbnail = "true"))
UCLASS(Config = Engine, DefaultConfig, meta = (DisplayName = "Dialogue System Settings"))