Class FZagalaSpecFeatureEditorTabRegistry#
Defined in File ZagalaSpecFeatureEditorTabFactory.h
Class Documentation#
-
class FZagalaSpecFeatureEditorTabRegistry#
The tabs of the feature editor.
Every registered factory gets a tab spawner in the editor; the document and details tabs are opened by default and the others can be opened from the Window menu. Other modules can add tabs through FZagalaSpecEditorModule::GetTabRegistry().
Public Functions
Adds a tab factory.
If a factory with the same tab id is already registered it is replaced.
- Parameters:
Factory – The factory to add.
-
bool Unregister(const FName TabId)#
Removes a tab factory.
- Parameters:
TabId – The id of the tab.
- Returns:
True if the factory was registered.
-
const TArray<TSharedRef<IZagalaSpecFeatureEditorTabFactory>> &GetFactories() const#
Returns the registered factories, in registration order.
- Returns:
The factories.
Public Static Functions
-
static TSharedRef<FZagalaSpecFeatureEditorTabRegistry> CreateDefaultRegistry()#
Creates the registry with the document and details tab factories.
- Returns:
The default registry.