All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATEventSubscriber | +---System.CATCommand | +---DialogEngine.CATDialogAgent | +---DialogEngine.CATAcquisitionAgent | +---DialogEngine.CATPathElementAgent | +---CATOtherDocumentAgent
Usage: you must use this class as is. You should never derive it.
public class CATOtherDocumentAgent
Class to define a dialog agent that enables selection in a nonactive document.
Role:This dialog agent enables you to select objects in a nonactive document
thanks to a command launched from the active state dialog command. As usual, you need
to instantiate the dialog agent in the state dialog command' BuildGraph method and
associate it with a given state. The dialog agent constructor includes a parameter to
indicate the class name of the command to launch when the state becomes
the active one. This command is then launched in all the other open documents' editors.
Such a command class must derive from CATMultiDocumentCommand. The dialog agent is assigned a value using this command, and all the launched
command instances are automatically deleted.
public CATOtherDocumentAgent( | const CATString& | iId, | |
CATClassId | iCommandToLaunchInDocuments, | ||
const char* | iLibrary, | ||
CATClassId | iType | =NULL, | |
CATDlgEngBehavior | iBehavior | =NULL) |
CATDlgEngRepeat|CATDlgEngActive
public virtual ~CATOtherDocumentAgent( | ) |
Copyright © 2003, Dassault Systèmes. All rights reserved.