InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PicIcoActionComponent Class Reference
Inheritance diagram for PicIcoActionComponent:
CActionComponentIActionComponentIPMUnknown

Public Member Functions

 PicIcoActionComponent (IPMUnknown *boss)
 
void DoAction (IActiveContext *context, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget)
 
- Public Member Functions inherited from CActionComponent
 CActionComponent (IPMUnknown *boss)
 
virtual ~CActionComponent ()
 
virtual void UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint, IPMUnknown *widget)
 

Additional Inherited Members

- Public Types inherited from IActionComponent
enum  { kDefaultIID = IID_IACTIONCOMPONENT }
 

Detailed Description

PicIcoActionComponent implements the actions that are executed when the plug-in's menu items are selected.

PicIcoActionComponent implements IActionComponent based on the partial implementation CActionComponent.

Constructor & Destructor Documentation

Binds the C implementation class onto its ImplementationID making the C code callable by the application * PicIcoActionComponent::PicIcoActionComponent (IPMUnknownboss)

Constructor.

Parameters
bossinterface ptr from boss object on which this interface is aggregated.

Member Function Documentation

void PicIcoActionComponent::DoAction (IActiveContextcontext,
ActionID actionID,
GSysPoint mousePoint,
IPMUnknownwidget 
)
virtual

Responds to user actions

Parameters
contextActive Document, View, and Selection information – the context.
actionIDidentifies the menu item that was selected.

Implements IActionComponent.