Usage: you can derive this class.
public class CATMultiDocumentCommand
Base class to define a state dialog command to achieve a selection in any nonactive document.
Role: This class enables a selection in a nonactive document from a state dialog
command running in the workbench of the active document.
Derive CATMultiDocumentCommand to create a class that should be instantiated
by a dialog agent of another state dialog command that runs in the active document.
The dialog agent must be an instance of .
When the state with which the dialog agent is associated becomes active, an instance
of CATMultiDocumentCommand is created for any nonactive document as a proxy of
the active command to select either an object or a set of objects in one of these
nonactive documents.
As for any state dialog command, you need to override the
method, create at least a state, associate with this state a
Agent instance to enable selection, and create an Action method that uses the
or
method, depending on whether you enable multiselection.
public ReturnListOfValues( | iList) |
public ReturnValue( | iValue) |
protected CATOtherDocumentAgent * _fromCommand
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.