AfrFoundation Macro NewAccess

Macro NewAccess (className,variableName,objectName)
Creates an access.
Role: The workshop (or workbench) is a bag of accesses and this macro allows you to create one access. To build your workshop (or workbench) you must chain accesses with the or macro. If you want to display an access just before a given one, you can use the macro.
Parameters:
classname
The name of the class created :
CATCmdContainer
  • To create a menubar. Then use the macro
(or ) to attach the menubar to the workshop (or to the workbench).
  • To create a menu.
  • To create a sub menu.
  • To create an icon box.
  • To create a toolbar. Then use the macro to declare the new toolbar.
  • CATCmdWorkbench
    To create a workbench. It's the return value of the method
    CATCmdStarter
    To create a starter. Then to attach a command header to this starter use the macro
    CATCmdSeparator
    To create a separator between accesses.
    variableName
    The pointer to the instance created
    objectName
    The name of the access. This name is used to reference resources except for a CATCmdStarter or a CATCmdSeparator.

    This object is included in the file: CATCreateWorkshop.h

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