FrontendRegistry
class FrontendRegistry( lifecycleOwner: LifecycleOwner, frontendMetadata: Collection<FrontendMetadata>, frontendContextFactory: FrontendContextFactory)
Content copied to clipboard
Manages the lifecycles of Frontends based on the given frontendMetadata.
Parameters
lifecycleOwner
Provides the lifecycle for the Frontends that this registry manages.
frontendMetadata
The metadata used by the registry to create and manage Frontends.
frontendContextFactory
The factory used to create the FrontendContext instances needed to create Frontends.
Constructors
Link copied to clipboard
fun FrontendRegistry( lifecycleOwner: LifecycleOwner, frontendMetadata: Collection<FrontendMetadata>, frontendContextFactory: FrontendContextFactory)
Content copied to clipboard
Properties
Link copied to clipboard
Whether all frontends with the FrontendCreationPolicy.CREATE_FRONTEND_AT_STARTUP frontend creation policy are ready.
Link copied to clipboard
The metadata used by the registry to create and manage Frontends.
Functions
Link copied to clipboard
Gets the menu item ID associated with the given frontendContext.
Link copied to clipboard
Gets the Frontend associates with the given menuItemId, creating the Frontend if it wasn't yet.
Extensions
Link copied to clipboard
Extracts all Panels from a from the Frontends within a PanelRegistry.