![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CstAFltActionComponent (IPMUnknown *boss) | |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint=kInvalidMousePoint, IPMUnknown *widget=nil) |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint=kInvalidMousePoint, IPMUnknown *widget=nil) |
Public Member Functions inherited from CActionComponent | |
| CActionComponent (IPMUnknown *boss) | |
| virtual | ~CActionComponent () |
Additional Inherited Members | |
Public Types inherited from IActionComponent | |
| enum | { kDefaultIID = IID_IACTIONCOMPONENT } |
implements the actions that are executed when the plug-in's menu items are selected.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * CstAFltActionComponent::CstAFltActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
The action component should do the requested action. This is where the menu item's action is taken. When a menu item is selected, the Menu Manager determines which plug-in is responsible for it, and calls its DoAction with the ID for the menu item chosen.
| actionID | identifies the menu item that was selected. |
Implements IActionComponent.
| virtual |
Called when the action component is asked to update a list of actions to the proper state. This method is required to be overridden by subclasses only if there are action components with kCustomEnabling specified.
The list of actions is intially disabled and unselected, so it only has to be changed if this state is not correct. Note that action components are never asked to update actions that don't belong to them, or actions they have not specified kCustomEnabling for.
Reimplemented from CActionComponent.