DialogEngine Typedef ElementProvider

  typedef CATPathElement * (CATBaseUnknown::*ElementProvider) (CATClassId iType)
Prototype of the element provider methods.

Role: These methods are passed as parameters of the method and are automatically called each time the edition agent is activated.
They are expected to return a full model path element to be edited.
Values:
iType
The type corresponds to an interface.
iType is an input parameter coming from the constructor (
).
Returns:
The path to the object to edit. The object to activate is the first one implementing (beginning from the leaf).
Cyclic reference: the path is kept and AddRef'ed. It is Released at the end of the agent before the agent

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

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