Class UZagalaSpecFeatureImportFactory#

Inheritance Relationships#

Base Type#

  • public UFactory

Class Documentation#

class UZagalaSpecFeatureImportFactory : public UFactory#

UFactory that handles single-file import of BDD framework files into feature data assets via the standard Content Browser Import flow.

Supported extensions: .feature — Gherkin / SpecFlow .robot — Robot Framework .wiki — FitNesse wiki page

On import:

  1. Detects format from file extension.

  2. Parses the file using the appropriate parser.

  3. Shows SZagalaSpecImportPreviewDialog so the user can inspect and confirm.

  4. Builds feature asset(s) via FZagalaSpecFeatureBuilder.

  5. Returns the first created asset; additional assets are saved directly.

Public Functions

UZagalaSpecFeatureImportFactory(const FObjectInitializer &ObjectInitializer = FObjectInitializer::Get())#
virtual UObject *FactoryCreateFile(UClass *InClass, UObject *InParent, FName InName, EObjectFlags Flags, const FString &Filename, const TCHAR *Parms, FFeedbackContext *Warn, bool &bOutOperationCanceled) override#
virtual bool FactoryCanImport(const FString &Filename) override#
virtual UClass *ResolveSupportedClass() override#