Class SZagalaSpecImportPreviewDialog#

Nested Relationships#

Nested Types#

Inheritance Relationships#

Base Type#

  • public SCompoundWidget

Class Documentation#

class SZagalaSpecImportPreviewDialog : public SCompoundWidget#

Modal dialog displayed before committing a BDD import.

Shows:

  • A tree view of Features -> Scenarios -> Steps (with phase label)

  • Any parse errors and warnings

  • A content path picker for the destination in the Content Browser

  • Import / Cancel buttons

Usage: bool bConfirmed = SZagalaSpecImportPreviewDialog::ShowModal(ParseResult, DefaultPath);

Public Functions

void Construct(const FArguments &InArgs)#

Build the dialog widgets.

Parameters:

InArgs – Slate arguments holding the parse result and default content path.

inline const FString &GetSelectedContentPath() const#

Returns the content path the user selected.

Returns:

The selected content path.

Public Static Functions

static bool ShowModal(const FZagalaSpecParseResult &ParseResult, const FString &DefaultContentPath)#

Show the dialog synchronously and return true if the user confirmed.

Parameters:
  • ParseResult – The combined parse result to preview.

  • DefaultContentPath – Pre-filled content browser path.

Returns:

True if the user confirmed the import.