company logo

ControlContext :: updateActionStates - Update action states for referencing actions

When defining actions referencing actions in other controls, those actions do not automatically change their state when the related action changes the state. When, e.g. implementing a toolbar for a list/tree not as toolbar for the list control, but in an upper frame control, toolbar default actions like DeleteEntry or MoveUp/MoveDown change action state according to selection in the list. This would not be reflected in the upper frame toolbar, which just refers to those actions. This function may be called in order to synchronize control action states with action states for referenced actions.

Implementation details

ControlContext  :: updateActionStates (  )