Class FZagalaSpecScenarioDetailsProvider#

Inheritance Relationships#

Base Type#

Class Documentation#

class FZagalaSpecScenarioDetailsProvider : public FZagalaSpecObjectDetailsProvider#

Details of the scenario rows (tag and title lines).

Shows the scenario’s tag and include-in-tests flag, the context extensions and expectations arrays where elements can only be added, removed or reordered, and the check section (see FZagalaSpecScenarioDetailsCustomization). The description and the checker object are hidden. The property names come from IZagalaSpecScenarioPropertyNames.

IZagalaSpecRowDetailsProvider interface

virtual FName GetId() const override#

Identifies the provider inside a registry.

Registering a provider with an id that is already used replaces the old one.

Returns:

The provider id.

virtual bool CanProvide(const FZagalaSpecDocumentRow &Row) const override#

Checks whether this provider can create the details of a row.

Parameters:

Row – The selected row.

Returns:

True if the provider handles the row.

FZagalaSpecObjectDetailsProvider interface

virtual TOptional<TSet<FName>> GetVisiblePropertyNames(const UObject &Object) const override#

Returns the names of the top-level properties of Object that the details view shows.

The default shows every property.

Parameters:

Object – The object the details view is created for.

Returns:

The visible property names; unset to show every property.

virtual void ConfigureDetailsView(IDetailsView &DetailsView, UObject &Object, const FZagalaSpecDetailsProviderContext &Context) const override#

Called after the details view is created and before the object is set.

Use it to register customizations. The default does nothing.

Parameters:
  • DetailsView – The new details view.

  • Object – The object that will be shown.

  • Context – The feature and services of the editor.