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

Public Member Functions

 WLBCmpActionComponent (IPMUnknown *boss)
 
virtual void DoAction (IActiveContext *myContext, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget)
 
virtual void UpdateActionStates (IActiveContext *myContext, IActionStateList *listToUpdate, 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 }
 

Detailed Description

WLBCmpActionComponent All about the user actions

Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

void WLBCmpActionComponent::DoAction (IActiveContextmyContext,
ActionID actionID,
GSysPoint mousePoint,
IPMUnknownwidget 
)
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.

Parameters
actionIDidentifies the menu item that was selected.

Implements IActionComponent.

void WLBCmpActionComponent::UpdateActionStates (IActiveContextmyContext,
IActionStateListlistToUpdate,
GSysPoint mousePoint,
IPMUnknownwidget 
)
virtual

Framework will call this method to ask us to update the states of the items.

Reimplemented from CActionComponent.