All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

ApplicationFrame Interface CATIContextualSubMenu

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIContextualSubMenu
 

Usage: you can freely reimplement this interface.


interface CATIContextualSubMenu

Interface to add menu item in the contextual menu.
Role:This interface allows you to add command which appears in the < xxx > object menu of the contextual menu. The xxx object must also implement the CATIEdit interface.
To do this, we create and arrange command starters that we associate with commands using command headers. These command headers are defined in the workshop of the document.
Each starter are chained together to form a sub menu.
The life cycle of the sub menu
In each implementation of this interface, the sub menu must be a data member to manage its life cycle. It can be identical or different from a call to GetContextualSubMenu to another.


Method Index


o GetContextualSubMenu()
Returns the sub menu access.

Methods


o GetContextualSubMenu
public virtual CATCmdAccess * GetContextualSubMenu()= 0
Returns the sub menu access.

This object is included in the file: CATIContextualSubMenu.h
If needed, your Imakefile.mk should include the module: CATApplicationFrame

Copyright © 2003, Dassault Systèmes. All rights reserved.