All Frameworks Class Hierarchy This Framework Previous Next Indexes
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.
public virtual CATCmdAccess * GetContextualSubMenu( | )= 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.