![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CusCondTxtActionComponent (IPMUnknown *boss) | |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint, IPMUnknown *widget) |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget) |
Additional Inherited Members | |
Private Types inherited from IActionComponent | |
| enum | { kDefaultIID = IID_IACTIONCOMPONENT } |
Private Member Functions inherited from CActionComponent | |
| CActionComponent (IPMUnknown *boss) | |
| virtual | ~CActionComponent () |
Implements IActionComponent; performs 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 * CusCondTxtActionComponent::CusCondTxtActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
The action component should perform 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.
| ac | active context |
| actionID | identifies the menu item that was selected. |
| mousePoint | contains the global mouse location at time of event causing action (e.g. context menus). kInvalidMousePoint if not relevant. |
| widget | contains the widget that invoked this action. May be nil. |
Implements IActionComponent.
| virtual |
Called by the framework to allow actions to be enabled or disabled dependent on the capability of the selection.
| ac | context in which the action is to be performed. |
| listToUpdate | list containing items to be enabled disabled. |
| mousePoint | ontains the global mouse location at time of event causing action (e.g. context menus), kInvalidMousePoint otherwise. |
| widget | the widget that invoked the action or nil otherwise |
Reimplemented from CActionComponent.