Activating an Action Event
Using interfaces, Application Framework provides a mechanism that makes it easy to process actions. The application processes the activation of a menu item in a menu or in a toolbar by generating an action event. This action event is generated according to the action associated with the activated menu item.
Then, the action event is sent to the following targets in this order:
-
The active document view, which is the active view inside the active view frame.
-
The document associated with the active document view.
-
The active view frame.
-
The views and their associated documents, which are inserted into dockable bars.
-
The main window.
-
The action processors declared to the application.
-
The application itself.