FocusMenuItemOnTaskPanelChangeFrontendCoordinationRule

A convenience constructor that extracts the default HomePanel and TaskPanelStackData from the given panelRegistry.


Parameters

getMenuItemId

A function that allows the rule to retrieve the MenuItem.Id from the focused FrontendContext in order to inform the MenuService which menu item to focus.

activeHomePanel

The HomePanel that indicates which Frontend is focused if there is no active TaskPanelStackData.

activeTaskPanelStackData

The TaskPanelStackData to observe in order to determine the focused frontend.