DebugTabPanelManager

interface DebugTabPanelManager

An interface that allows debug tabs to access and modify panels within the debug frontend.

This interface is specifically for debug tabs rather than added to the general DebugPanel, because it's only needed for debug frontends that dynamically load their content through DebugTabFrontendExtensions. Self-contained debug frontends can already allow their panels to access panel management directly.

Properties

Link copied to clipboard
abstract val frontendPanels: LiveData<List<AnyPanel>>

The panels added within the debug frontend.

Functions

Link copied to clipboard
abstract fun addPanel(panel: AnyPanel)

Adds a panel to the debug frontend.

Link copied to clipboard
abstract fun removePanel(panel: AnyPanel)

Removes a panel from the debug frontend.

Link copied to clipboard
abstract fun removePanels(panels: List<AnyPanel>)

Removes panels from the debug frontend.