Class ActionsModel

All Implemented Interfaces:
SearchListModel<DockingActionIf>, Serializable, ListModel<SearchListEntry<DockingActionIf>>

public class ActionsModel extends DefaultSearchListModel<DockingActionIf>
Model for the SearchList used by the ActionChooserDialog. This model is constructed with two sets of actions; local and global. The local actions are actions that are specific to the currently focused ComponentProvider or DialogComponentProvider. Global actions are actions that are added at the tool level and are not specific to a ComponentProvider or DialogComponentProvider.

The model supports the concept of a ActionDisplayLevel. The display level determines which combination of local and global actions to display and takes into account if they are valid for the current context, are enabled for the current context and, for popups, the value of the "addToPopup" value. Each higher display level is less restrictive and adds more actions in the displayed list. See the ActionDisplayLevel for a description of which actions are displayed for each level

See Also: