InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CDialogCreator Class Reference

#include <CDialogCreator.h>

Inheritance diagram for CDialogCreator:
IDialogCreatorIPMUnknownBscSlDlgDialogCreatorBscSlDlgTabDialogCreator

Public Member Functions

 CDialogCreator (IPMUnknown *boss)
 
virtual IDialogCreateDialog ()
 
virtual RsrcID GetOrderedPanelsRsrcID () const
 
virtual void GetOrderedPanelIDs (K2Vector< ClassID > &classIDs)
 

Protected Member Functions

void GetOrderedPanelIDs (const PluginID pluginID, K2Vector< ClassID > &classIDs)
 

Detailed Description

Basic implementation of the IDialogCreator interface, used to create selectable dialogs. Implementors of IDialogCreator should derive from CDialogCreator.

See Also
IDialogCreator

Member Function Documentation

virtual IDialog* CDialogCreator::CreateDialog ()
virtual

Override this to create the dialog

Implements IDialogCreator.

Reimplemented in BscSlDlgDialogCreator, and BscSlDlgTabDialogCreator.

virtual void CDialogCreator::GetOrderedPanelIDs (K2Vector< ClassID > & classIDs)
virtual

Get the ordered list of class IDs of selectable dialogs that are to be installed in this dialog. Classes that override this function can simply call the protected member GetOrderedPanelIDs with the plug-in's ID from which to get resource data from within.

Parameters
classIDsOUT ordered list of class IDs of selectable dialogs

Implements IDialogCreator.

Reimplemented in BscSlDlgTabDialogCreator, and BscSlDlgDialogCreator.

void CDialogCreator::GetOrderedPanelIDs (const PluginID pluginID,
K2Vector< ClassID > & classIDs 
)
protected

Generic form of the method to get the ordered list of class IDs of selectable dialogs that are to be installed in this dialog. Classes should not override this function, and instead use the virtual public method if overriding is needed.

Parameters
pluginIDIN ID of the plugin to use when requesting resources
classIDsOUT ordered list of class IDs of selectable dialogs
virtual RsrcID CDialogCreator::GetOrderedPanelsRsrcID () const
virtual

Override this to specify the Resource ID of the resource containing an ordered list of panel ids. If order is not important, it's not necessary to override this function.

Returns
the resource id (a "real" id will be non-zero, this implementation returns 0)

Implements IDialogCreator.

Reimplemented in BscSlDlgTabDialogCreator, and BscSlDlgDialogCreator.