AfrFoundation CATAfrDialogCommandHeaderFactory

Usage: you must use this class as is. You should never derive it.


public class CATAfrDialogCommandHeaderFactory

Base class to create a command header with a customized representation.
Role: This class enables you to create a command header with a customized representation. It means a representation which will be not the default one: a push button in a toolbar, and a push item in the menu bar or a contextual menu.

To do that, you should implement the interface on a class deriving from CATBaseUnknown and specify a string (late type) which corresponds to the component that implements the interface. This interface enables you to provide your specific representation in the toolbar, or/and the menubar, or/and the contextual menu. This representation is an instance of a class deriving of the class.


The class describes how to create a customized command header.


Method Index


o CATCreateDialogCommandHeader(CATString&,CATString&,CATString&,int)
Constructs a command header with a customized representation.

Methods


o CATCreateDialogCommandHeader
public static CATCreateDialogCommandHeader( const iHeaderIdentificator,
const iResourceFileName,
const iLateType,
iState= CATFrmAvailable)
Constructs a command header with a customized representation.
Parameters:
iHeaderIdentificator
The identificator of the command header class instance. It is the command argument of the SetAccessCommand macro.
iResourceFileName
The name of the resource file.
iLateType
The name of the late type (name of the component implementing the interface).
iState
The command header state.
Legal values:
  • CATFrmAvailable (The default value)
  • CATFrmUnavailable

  • This object is included in the file: CATAfrDialogCommandHeaderFactory.h
    If needed, your Imakefile.mk should include the module: CATAfrFoundation

    Copyright © 1999-2015, Dassault Systèmes. All rights reserved.