![]() | InDesign SDK 20.5 |
#include <IToolChangeSuite.h>

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 IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
The suite notified when a tool changes in the tool panel
| 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.
| activeTool | The active ITool |
| selectionManager | The selection manager associated with the view. |
| pure virtual |
Called when a tool changes so the selection can be updated for the new tool
| changedTool | The ITool that changed |
| view | The current IControlView |