Applications that allow the user to open multiple documents, perhaps of different types, must ensure that the user interface is appropriate for the current document, with the right menu options and toolbar buttons enabled or disabled appropriately. For large applications with many actions, it is easy to forget to update all the relevant actions when the user changes documents. This article presents an abstraction that can solve the problem: a signal multiplexer.