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

#include <IInfoPanelNonSelToolProvider.h>

Inheritance diagram for IInfoPanelNonSelToolProvider:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINFOPANELNONSELTOOLPROVIDER }
 

Public Member Functions

virtual ClassID GetToolType () const =0
 
virtual WidgetID GetWidgetID () const =0
 
virtual PMIID GetProtocolID () const =0
 
virtual ToolInfoPriority GetPriority () 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

Provides a mechanism for info palette to determine showing/hiding which panel when non-selection tool is activated. Currently the non-selection tool includes all tools existing in InDesign except pointer tool and direct selection tool. For all non-selection tool, there is only one panel associated with it. And different non-selection tool can have the same panel.

Member Function Documentation

virtual ToolInfoPriority IInfoPanelNonSelToolProvider::GetPriority () const
pure virtual

Get the priority to display the panel for the current activated tool. This is designed for third party to override the existing panel that associated with the tool.

Returns
ToolInfoPriority of the panel.
virtual PMIID IInfoPanelNonSelToolProvider::GetProtocolID () const
pure virtual

Get the message id that will be sent to InfoPanel if the associated tool is the current activated tool

Returns
InterfaceID of the message.
virtual ClassID IInfoPanelNonSelToolProvider::GetToolType () const
pure virtual

Get the ClassID of the tool that this panel associated with.

Returns
ClassID of tool.
virtual WidgetID IInfoPanelNonSelToolProvider::GetWidgetID () const
pure virtual

Get the panel's widget id that the tool is associated with.

Returns
WidgetID of the panel.