![]() | InDesign SDK 20.5 |

Public Member Functions | |
| SnipRunActionComponent (IPMUnknown *boss) | |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint=kInvalidMousePoint, IPMUnknown *widget=nil) |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget) |
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 provided by this plug-in.
Implements IActionComponent based on the partial implementation CActionComponent.
| SnipRunActionComponent::SnipRunActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Called by the framework when the action is to be performed.
| ac | context in which action is to be performed. |
| actionID | identifies the action that was selected. |
| mousePoint | contains the global mouse location at time of event causing action (e.g. context menus). kInvalidMousePoint if not relevant. |
| widget |
Implements IActionComponent.
| virtual |
This method is called when the action component's menus need updating – this is where menu items are enabled or disabled, checked or unchecked, etc.
| ac | context in which action is to be performed. |
| listToUpdate | contains a list of menu items for menu states updates. |
| mousePoint | contains the global mouse location at time of event causing action. |
| widget | contains the widget that invoked this action. May be nil. |
Reimplemented from CActionComponent.