Class FZagalaSpecEmptyDetailsProvider#
Defined in File ZagalaSpecEmptyDetailsProvider.h
Inheritance Relationships#
Base Type#
public IZagalaSpecRowDetailsProvider(Class IZagalaSpecRowDetailsProvider)
Class Documentation#
-
class FZagalaSpecEmptyDetailsProvider : public IZagalaSpecRowDetailsProvider#
Catch-all provider that shows nothing.
It handles every row that no other provider handles, such as the “Shared Context Extensions:”, “Context Extensions:” and “Expectations:” decorators and the spacers. It is registered with the lowest priority so any other provider overrides it.
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.
-
virtual TSharedRef<SWidget> CreateDetailsWidget(const FZagalaSpecDocumentRow &Row, const FZagalaSpecDetailsProviderContext &Context) const override#
Creates the details widget of a row.
Only called for rows where CanProvide returned true.
- Parameters:
Row – The selected row.
Context – The feature and callbacks of the editor.
- Returns:
The widget to show in the details panel.
-
virtual FName GetId() const override#