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

#include <IPanelRegister.h>

Inheritance diagram for IPanelRegister:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IPANELREGISTER }
 

Public Member Functions

virtual bool16 Startup (const PMLocaleId &localeId)=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

Interface that provides a mechanism for plugins to register palette panels they implement with the application core.

Each plugin that implements a panel must implement a boss that has an IPanelRegister interface. Don't aggregate this interface into other bosses, but put it in its own boss. We iterate the object model to find those which has the side effect of creating a boss, which is probably not what you want when aggregated into something like a panel.

Member Function Documentation

virtual bool16 IPanelRegister::Startup (const PMLocaleIdlocaleId)
pure virtual

Called the first time the application is run. The plugin should load and register panels from this method.

Parameters
localeIdspecifies locale in which application is starting up