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

Public Member Functions

 PstLstUIActionComponent (IPMUnknown *boss)
 
virtual void DoAction (IActiveContext *context, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget)
 
virtual void UpdateActionStates (IActiveContext *context, 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

PstLstUIActionComponent Implements the actions that are executed when the plug-in's menu items are selected.

Constructor & Destructor Documentation

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

Constructor.

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

Member Function Documentation

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

The action component should do the requested action.

Parameters
contextSee IActionComponent::DoAction
actionIDidentifies the menu item that was selected.
mousePointSee IActionComponent::DoAction
widgetSee IActionComponent::DoAction
See Also
IActionComponent::DoAction

Implements IActionComponent.

void PstLstUIActionComponent::UpdateActionStates (IActiveContextcontext,
IActionStateListlistToUpdate,
GSysPoint mousePoint,
IPMUnknownwidget 
)
virtual

Called by the framework enable or disable items.

Parameters
contextSee IActionComponent::UpdateActionStates
listToUpdateis used for action components to update the state of their actions.
mousePointSee IActionComponent::UpdateActionStates
widgetSee IActionComponent::UpdateActionStates
See Also
IActionComponent::UpdateActionStates

Reimplemented from CActionComponent.