Class FZagalaSpecFeatureDetailsProvider#

Inheritance Relationships#

Base Type#

Class Documentation#

class FZagalaSpecFeatureDetailsProvider : public FZagalaSpecObjectDetailsProvider#

Details of the feature rows (tag, title and description lines).

Shows the feature’s tag, description, include-in-tests flag and feature links, plus the shared context extensions and scenarios arrays where elements can only be added, removed or reordered (see FZagalaSpecFeatureDetailsCustomization). The property names come from IZagalaSpecFeaturePropertyNames.

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.