InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IToolChangeSuite Class Referenceabstract

#include <IToolChangeSuite.h>

Inheritance diagram for IToolChangeSuite:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ITOOLCHANGESUITE }
 

Public Member Functions

virtual void ToolChanged (ITool *changedTool, IControlView *view) const =0
 
virtual void MatchSelectionWithTool (ITool *currentTool, ISelectionManager *selectionManager) const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

The suite notified when a tool changes in the tool panel

Member Function Documentation

virtual void IToolChangeSuite::MatchSelectionWithTool (IToolcurrentTool,
ISelectionManagerselectionManager 
) const
pure virtual

Called when the selection is restored after undo or redo and it may need to further be changed to adjust to the active tool.

Parameters
activeToolThe active ITool
selectionManagerThe selection manager associated with the view.
virtual void IToolChangeSuite::ToolChanged (IToolchangedTool,
IControlViewview 
) const
pure virtual

Called when a tool changes so the selection can be updated for the new tool

Parameters
changedToolThe ITool that changed
viewThe current IControlView