All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

InteractiveInterfaces Interface CATIReplaceUI

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

Usage: you can freely reimplement this interface.


interface CATIReplaceUI

Replace.
Role: Implement this interface for replace operation. Retrieve in a CATPathElement a valid element for replace. Called by replace command.

See also:
CATPathElement


Method Index


o FindValidElementForReplace(CATUnicodeString&,CATPathElement*,CATBaseUnknown*,CATBaseUnknown*&)
Find the replacing element.

Methods


o FindValidElementForReplace
public virtual HRESULT FindValidElementForReplace( const CATUnicodeString& iRole,
const CATPathElement* iSelection,
const CATBaseUnknown* iOldValue,
CATBaseUnknown*& oFoundElement)=0
Find the replacing element.
Postcondition: The caller has to release oFoundElement.
Parameters:
iRole
The name of the attribute which references the element to be replaced.
iSelection
The path element selection.
iOldValue
The element to be replaced. In case of iRole is a tk_list attribute, use iSelection with iRole to locate which element of the list is being replaced.
oFoundElement
The element extracted from iSelection which grants the replace operation.
Returns:
S_OK if OK, E_FAIL if failed.

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

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