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

#include <IInfoPanelSelToolProvider.h>

Inheritance diagram for IInfoPanelSelToolProvider:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IINFOPANELSELTOOLPROVIDER }
 

Public Member Functions

virtual ClassID GetToolType () const =0
 
virtual WidgetID GetSelectionWidgetID () const =0
 
virtual WidgetID GetNonSelectionWidgetID () const =0
 
virtual PMIID GetSelectionProtocolID () const =0
 
virtual PMIID GetNonSelectionProtocolID () const =0
 
virtual ToolInfoPriority GetSelectionPriority () const =0
 
virtual ToolInfoPriority GetNonSelectionPriority () 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 selection tool is activated. Currently the selection tool only includes pointer tool and direct selection tool. A selection tool will have two panels associated with it. When there is layout selection, the panel with the selection information will be shown; when there is no layout selection, the other panel with other information will be shown.

Member Function Documentation

virtual ToolInfoPriority IInfoPanelSelToolProvider::GetNonSelectionPriority () 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 when there no selection.

Returns
ToolInfoPriority of the panel.
virtual PMIID IInfoPanelSelToolProvider::GetNonSelectionProtocolID () const
pure virtual

Get the message id that will be sent to InfoPanel if the associated tool is the current activated tool and there is no selection.

Returns
InterfaceID of the message.
virtual WidgetID IInfoPanelSelToolProvider::GetNonSelectionWidgetID () const
pure virtual

Get the panel's widget id that the tool is associated with when there is no selection.

Returns
WidgetID of the panel.
virtual ToolInfoPriority IInfoPanelSelToolProvider::GetSelectionPriority () 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 when there is selection.

Returns
ToolInfoPriority of the panel.
virtual PMIID IInfoPanelSelToolProvider::GetSelectionProtocolID () const
pure virtual

Get the message id that will be sent to InfoPanel if the associated tool is the current activated tool and there is a selection.

Returns
InterfaceID of the message.
virtual WidgetID IInfoPanelSelToolProvider::GetSelectionWidgetID () const
pure virtual

Get the panel's widget id that the tool is associated with when there is a selection.

Returns
WidgetID of the panel.
virtual ClassID IInfoPanelSelToolProvider::GetToolType () const
pure virtual

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

Returns
ClassID of tool.