Class FZagalaSpecDocumentTabFactory#

Inheritance Relationships#

Base Type#

Class Documentation#

class FZagalaSpecDocumentTabFactory : public IZagalaSpecFeatureEditorTabFactory#

Creates the document tab: the feature as text rows (see SZagalaSpecFeatureDocumentPanel).

IZagalaSpecFeatureEditorTabFactory interface

virtual FName GetTabId() const override#

Identifies the tab.

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

Returns:

The tab id (see ZagalaSpecFeatureEditorTabIds for the default ones).

virtual FText GetDisplayName() const override#

Name shown in the tab and in the Window menu.

Returns:

The display name.

virtual FText GetTooltipText() const override#

Tooltip shown in the Window menu.

Returns:

The tooltip.

virtual TSharedRef<SDockTab> SpawnTab(const TSharedRef<FZagalaSpecFeatureEditorContext> &Context, const FSpawnTabArgs &Args) const override#

Creates the tab.

Parameters:
  • Context – The state shared by the tabs of the editor.

  • Args – The spawn arguments from the tab manager.

Returns:

The new tab.