SingleExpandedProcessPanelFrontendCoordinationRule
class SingleExpandedProcessPanelFrontendCoordinationRule(activePanel: LiveData<ExpandedProcessPanel?>) : FrontendCoordinationRule
A rule that ensures there is only a single Frontend that shows ExpandedProcessPanels at any time. It does this by closing the ExpandedProcessPanels of other Frontends when a Frontend opens a new ExpandedProcessPanel.
Parameters
activePanel
The ExpandedProcessPanel to observe in order to close other Frontends' ExpandedProcessPanels.
Constructors
Link copied to clipboard
Link copied to clipboard
fun SingleExpandedProcessPanelFrontendCoordinationRule(activePanel: LiveData<ExpandedProcessPanel?>)
Functions
Link copied to clipboard
open override fun activate(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)
Actives the rule within the scope of the given lifecycleOwner.